Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
rightcelebrator
5 years agoHelpful | Level 6
Error 400 when trying to access file using "WinHttp.WinHttpRequest.5.1"
Hello, i am doing simple download utility for my clients. I am using Autohotkey. The issue is that since 17.8.2021 the clients started to report that its not downloading from their dropbox anymore....
- 5 years ago
I found the reason and the solution.....
the last redirect location was:
https://uc6f15ff258e57f8afd9c4e5d97e.dl.dropboxusercontent.com/cd/0/get/BU0a9_vyDu1w8UAsQg0cnf9-yTQJDMCU4EqgojJU4cwU55xwOuPI3X7ljfhNtG1JGjRLDOj68jVzvOlOSD0HGhc85WJkq68qklFGmDWXgTVcgbaL51PSrNoui2R-b5Hmd-ds2DioeAkw7fxQo4ajtp-X/file?dl=1#
And for some reason the WinHttp.WinHttpRequest.5.1 have issue with the # at the end of the link. So I assume, that that is the change which Dropbox did in last 2 weeks.
For this reason i cannot use build in redirects inside the WinHttp.WinHttpRequest.5.1 object. And i need to redirect by the script.
winHttp.Option(6) = false
And then just remove the # from the link which i retrieve from location.
Which means that https://uc6f15ff258e57f8afd9c4e5d97e.dl.dropboxusercontent.com/cd/0/get/BU0a9_vyDu1w8UAsQg0cnf9-yTQJDMCU4EqgojJU4cwU55xwOuPI3X7ljfhNtG1JGjRLDOj68jVzvOlOSD0HGhc85WJkq68qklFGmDWXgTVcgbaL51PSrNoui2R-b5Hmd-ds2DioeAkw7fxQo4ajtp-X/file?dl=1was working.
So its resolved.Anyway it would be great if your server would not add the # to the location.
Curl was working and it helped me to find out that it also removed the # from the link.
Thank you for support.
rightcelebrator
5 years agoHelpful | Level 6
BTW
Please remove the # from the link so that automatic redirects of WinHttp.WinHttpRequest.5.1 are working with your links.
Its not necessary to program own redirect resolver. 😞
Greg-DB
Dropbox Community Moderator
5 years agoThanks for following up! I'm glad to hear you resolved this already.
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!