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
9 years agoThanks for checking in. I don't have an update on this request unfortunately. We generally don't make promises about potential changes one way or another, since plans can change and we don't want to accidentally mislead anyone. That said, I'll check in with the team again to see if I can get a firm answer one way or another for this.
Greg-DB
Dropbox Community Moderator
9 years agoThe team has decided to update the API to allow some Content-Types such as "text/plain; charset=utf-8" on download endpoints. I'll follow up here once that is live.
- SephDragoon9 years agoExplorer | Level 4That is really good news! Thank you for sharing, and I will give an update about it on my end as well!
- Greg-DB9 years ago
Dropbox Community Moderator
API v2 download endpoints now accept the following Content-Types:
- application/octet-stream
- text/plain
- text/plain; charset=utf-8
Hope this helps!- SephDragoon7 years agoExplorer | Level 4
Hello. I have finally come back to the platform on another attempt to use the endpoints. Picking up where I left off, I decided to finally try and see if it would work, but upon trying it out, I got the same error as before. I am specifying the MIME type as both "text/plain" and "text/plain; charset=utf-8". Neither one shows any different result.
So far it is spitting back "Unsupported or unknown Content-Type." once again. Maybe something else has change since my original attempt, but are the new supported content types still working, or was something eventually changed?
Edit: Alright, I have finally been able to confirm that the error stems only from file/download. Other API calls seem to be working, but I am unable to get the contents of the .txt files I had on the server previously. The content type is still incorrect when I am receiving a response from the server.
http://wiki.secondlife.com/wiki/Http_response
Status 415 "Unsupported or unknown Content-Type"
The remote server did reply to your request but the Content-Type of the reply (such as XML, JSON, Atom, RSS, PLS) is not recognized by the LL server and so is not passed back to the script. You can assume that 415 means the server heard your request and did reply.
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!