We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

SephDragoon's avatar
SephDragoon
Explorer | Level 4
9 years ago

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 detailed more of this in my latest post.

 

Hello. I have happily been a user of yours for last several years, using the Dropbox API from within Second Life. This has given me a rather powerful tool for handling data storage, but your v2 API will not function from withint Second Life any long.

 

I have been trying to migrate from v1 to v2 ahead of time, and I ran into an error that cannot be fixed within Second Life.

 

Error in call to API function "files/download": You provided a non-empty HTTP "Content-Type" header ("text/plain; charset=utf-8").  This API function requires that the header be missing or empty.

 

The problem lies here in Second Life:

http://wiki.secondlife.com/wiki/LlHTTPRequest

 

You cannot override the Content-Type headed, because it is automatically generated from within Second Life itself. Can you fix this problem? There seems to be little reason that the API could not ignore this content type header if you are doing a download, like it did before.

 

This prevents me from upgrading to v2, and would break all of my current code in Second Life if it cannot be fixed.

29 Replies

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 9 months ago
411 Following

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 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!