Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

Cannot download images from URLs obtained in API

Solved
Jump to Solution
1883 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Jed_Davidow
6 - Interface Innovator
6 - Interface Innovator

I am able to use the API to obtain URLS for images. I can access those URLs from my browser when logged in.

However, my API is unable to access the images when using a GET (I am sending the authorization token header):

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>XXXXXXXX</RequestId><HostId>YYYYYYYYYY=</HostId></Error>


HTTP/1.1 403 Forbidden
Content-Type: application/xml
Transfer-Encoding: chunked
Connection: keep-alive
Date: Fri, 14 Jan 2022 02:36:39 GMT
Server: AmazonS3
Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; img-src https://*/favicon.ico; sandbox
Access-Control-Allow-Origin: *
X-Robots-Tag: none
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
X-Cache: Error from cloudfront
Via: 1.1 61e47cd082bb04a8fb8ae61dd54f6b32.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: SFO5-P1
X-Amz-Cf-Id: shVI6m4RmjkRC_v-5aKPJihKBNSCl9tLzzIsEtiO_qw4BRy89NgJoQ==
1 Solution

Accepted Solutions
Bill_French
17 - Neptune
17 - Neptune

Share an example image URL.

See Solution in Thread

2 Replies 2
Bill_French
17 - Neptune
17 - Neptune

Share an example image URL.

Jed_Davidow
6 - Interface Innovator
6 - Interface Innovator

I went to grab the URL, and realize I made a code mistake. Thank you for trying to help!