We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
johannesjo
6 years agoHelpful | Level 5
504 when reading data
Operating System and version: iOS 14.1
Browser Name and version: Safari 14.1
One of my users encountered a problem when using dropbox from my app from an iPhone: https://github.com/johannesj...
- 6 years ago
Actually, I think this may be this issue: https://github.com/angular/angular/issues/37133
There's a solution posted there. Can you try that out?
Greg-DB
Dropbox Community Moderator
6 years agoWould it be possible to get some sample requests/responses showing the issue so we can try to track this down and investigate on our side? Be sure to redact the access token though of course.
Greg-DB
Dropbox Community Moderator
6 years agoActually, I think this may be this issue: https://github.com/angular/angular/issues/37133
There's a solution posted there. Can you try that out?
- johannesjo6 years agoHelpful | Level 5
Thank you for the very quick response! Unfortunately, if I add a param to the request I get a 400 error:
`GET https://content.dropboxapi.com/2/files/download?ngsw-bypass=true 400 (Bad Request)`
And the body says:
Error in call to API function "files/download": Unexpected URL params: "ngsw-bypass"- johannesjo6 years agoHelpful | Level 5
Nevermind. I just figured that this is supposed to work as a header field as well. I get back to you once I've tested this.
- johannesjo6 years agoHelpful | Level 5
Setting
'ngsw-bypass': trueas header won't also work unfortunately as I get a Cross-origin error then... Any ideas?
- Здравко6 years agoLegendary | Level 20
johannesjo wrote:...
`GET https://content.dropboxapi.com/2/files/download?ngsw-bypass=true 400 (Bad Request)`
...Hi johannesjo,
Take a look on the documentation more carefully. The query must be POST, not GET!
Hope this gives direction.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!