Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hey guys,
Our dropbox implementation appeared broken on production environment and we saw that a trailing slash on the following endpoint returned a unknown API endpoint error. This seemed to work fine ( with the trailing slashes "/" ) until earlier this week and looks like a recent regression. Also, am not sure if its just this endpoint that returns this error with trailing "/" or other endpoints are affected by this as well.
It would be great if you could notify the clients before making such a change?
Doesnt Work:
curl -X POST https://api.dropboxapi.com/2/files/list_folder/ \
--header 'Authorization: Bearer XXX' \
--header 'Content-Type: application/json' \
--data '{"path":""}'
Unknown API function: "files/list_folder/".%
Works:
curl -X POST https://api.dropboxapi.com/2/files/list_folder \
--header 'Authorization: Bearer XXX' \
--header 'Content-Type: application/json' \
--data '{"path":""}'
Thanks
-Vasanth
Thanks for the report Vasanth, and apologies for the trouble! It looks like there was a recent change to our routing system that changed the handling for calls with an extra trailing slash like this.
We of course never intend to release breaking changes without notifying developers. The API v2 routes are documented without a trailing slash though, so this wasn't on our radar as something to notify developers of.
Thank you for the confirmation Gregory. Do we know when exactly this change was effected?
-Vasanth
I believe the change rolled out on Monday, the 6th.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on X or Facebook.
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!