Loading of attachment body over API crashes with 403 Forbidden


#1

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


#2

Hi @Anton_Litvinenko

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


#3

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>


#4

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