Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Downloading attachments through API with URLs fails
Venks I
✭
When requesting to download an object, I get a "timing limited" URL of the form:
https://s3.amazonaws.com/SmartsheetB1/*******?response-content-disposition=attachment;filename="*************************.pdf";filename*=UTF-8''*************************.pdf&Signature=*********=&Expires=********&AWSAccessKeyId=***************
Trying this URL directly gives an error :
<?xml version="1.0" encoding="UTF-8"?>
I tried various pieces of the URL, but always end up with either Access Denied or "Query-string authentication requires the Signature, Expires and AWSAccessKeyId parameters",
even though they do exist.
I am using version 2.0 of the API.
Any help is appreciated.
Thank you
https://s3.amazonaws.com/SmartsheetB1/*******?response-content-disposition=attachment;filename="*************************.pdf";filename*=UTF-8''*************************.pdf&Signature=*********=&Expires=********&AWSAccessKeyId=***************
Trying this URL directly gives an error :
<?xml version="1.0" encoding="UTF-8"?>
InvalidRequest
Request specific response headers cannot be used for anonymous GET requests.********************************************************************************I tried various pieces of the URL, but always end up with either Access Denied or "Query-string authentication requires the Signature, Expires and AWSAccessKeyId parameters",
even though they do exist.
I am using version 2.0 of the API.
Any help is appreciated.
Thank you
Comments
-
Hello,
Please shoot us an email at api@smartsheet.com so we can troubleshoot this together. If you can provide copies of JSON requests for this issue that will be helpful. Please do not include your access token if you send the requests.
Thanks,
Joseph
This discussion has been closed.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives