# Attachment are bloked

**URL:** <https://community.hubspot.com/t/attachment-are-bloked/109386>\
**Category:** APIs & Integrations\
**Tags:** starter\
**Created:** [June 14, 2024, 11:09am UTC](https://community.hubspot.com/t/attachment-are-bloked/109386 "2024-06-14T11:09:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ASargsyan8](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@ASargsyan8](https://community.hubspot.com/u/ASargsyan8)\
**Post date:** [June 14, 2024, 11:09am UTC](https://community.hubspot.com/t/attachment-are-bloked/109386/1 "2024-06-14T11:09:56Z")

</div>

Hi HubSpot team, We are pushing documents to HubSpot with API and some docs are being blocked. Please let me know what the issue could be because it is blocking our processes.  
Reason from HubSpot API response

This website is using a security service to protect

itself from online attacks. The action you just performed triggered the security solution.

There are several actions that could trigger this block including submitting a certain word

or phrase, a SQL command or malformed data.

---

<div class="post-metadata">

**Author:** ![Humashankar](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/humashankar/32/30856_2.png) [@Humashankar](https://community.hubspot.com/u/Humashankar)\
**Post date:** [June 14, 2024, 11:59am UTC](https://community.hubspot.com/t/attachment-are-bloked/109386/2 "2024-06-14T11:59:51Z")

</div>

Hi @ASargsyan8

It seems that HubSpot’s security features have detected a potential threat in your documents, possibly due to specific words, phrases, SQL code, or malformed data.

- Test uploading a simple document without any potentially risky content to isolate the issue
- Check if your documents contain sensitive information like SQL commands or personally identifiable information - PII

**Hope this helps - Happy to help further!!**  
**Thank you very much and have a great one!**  
**Warm regards**

---

<div class="post-metadata">

**Author:** ![ASargsyan8](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@ASargsyan8](https://community.hubspot.com/u/ASargsyan8)\
**Post date:** [June 17, 2024, 6:32am UTC](https://community.hubspot.com/t/attachment-are-bloked/109386/3 "2024-06-17T06:32:46Z")

</div>

Thank you for getting back to me. Yes the message indicates that but the problem is the attachment jpg file and it’s a normal file without sensitive information like SQL commands or personally identifiable information - PII

---

<div class="post-metadata">

**Author:** ![Humashankar](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/humashankar/32/30856_2.png) [@Humashankar](https://community.hubspot.com/u/Humashankar)\
**Post date:** [June 17, 2024, 11:40am UTC](https://community.hubspot.com/t/attachment-are-bloked/109386/4 "2024-06-17T11:40:54Z")

</div>

Hi @ASargsyan8

Great point! One potential issue could be file size limits for uploaded images. Consider compressing the images to give a try on this.

**Regards**

---

<div class="post-metadata">

**Author:** ![ASargsyan8](https://avatars.discourse-cdn.com/v4/letter/a/ed655f/32.png) [@ASargsyan8](https://community.hubspot.com/u/ASargsyan8)\
**Post date:** [June 18, 2024, 1:04pm UTC](https://community.hubspot.com/t/attachment-are-bloked/109386/5 "2024-06-18T13:04:21Z")

</div>

Thanks @Humashankar yes but actual size is 300 kb no more
