Attachment are bloked

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.

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

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

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

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