We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
SephDragoon
10 years agoExplorer | Level 4
Dropbox API v2 for Second Life
Update (01/14/2019): Finally back to trying to use this code. A resolution was seemingly made, but not fully implemented. I am able to access the API now, but I still cannot use file/download. I have...
Greg-DB
Dropbox Community Moderator
10 years agoDropbox API v2 does expect the Content-Type to match the type of the content in the body, and in the case of content-download endpoints, this should accordingly be missing or empty, as there is no content in the body.
Are you perhaps able to explicitly specify the empty string "" using "HTTP_MIMETYPE" as mentioned in the documentation you linked to?
SephDragoon
9 years agoExplorer | Level 4
It cannot accept an empty string sadly. I can attempt to get them to add that functionality, but I do not know how long that will take. I would still like to pursue both options, since either solution, accepting an empty string or ignoring the MIME type when it is expected to be empty.
- SephDragoon9 years agoExplorer | Level 4
This is the exact error returned when I try it:
[06:06:37 PM] AoW:Reloaded HUD (v0.0.6a) - v2 API Example: Unsupported or unknown Content-Type.
- Greg-DB9 years ago
Dropbox Community Moderator
Thanks for trying that out. I can't make any promises, but I'll send this along to the team as a request to allow this on our side.- SephDragoon9 years agoExplorer | Level 4
Alright. Thank you so much for working with me. Hopefully it is all handled before v1 goes away.
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!