APIs & Integrations

No aplicable

Loading of attachment body over API crashes with 403 Forbidden

Hello,

We trying to load attachment/file body over API and the request crashes with 403 Forbidden, but then we log into the portal and are able to download the file over UI. (we are using credentials of the same user)

Why does this happen?

Thanks!
Anton

3 Respuestas 3
Dadams
HubSpot Employee
HubSpot Employee

Loading of attachment body over API crashes with 403 Forbidden

Hi @Anton_Litvinenko

Do you have the body of the error response? We’ll usually have more details of the problem in there.

0 Me gusta
No aplicable

Loading of attachment body over API crashes with 403 Forbidden

Yeah, i do… Nothing informative imo:

<head><title>403 Forbidden</title></head>
<body>
<h1>403 Forbidden</h1>
<ul>
<li>Code: AccessDenied</li>
<li>Message: Access Denied</li>
<li>RequestId: ******</li>
<li>HostId: ******</li>
</ul>
<hr/>
</body>
</html>

0 Me gusta
No aplicable

Loading of attachment body over API crashes with 403 Forbidden

@dadams Hi! Any other suggestions? we are still having this issue.

0 Me gusta