We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Compass T.
11 years agoNew member | Level 1
Getting 500 Internal Server Error on a remote server only -- works fine locally.
Hi there :)
I am using the Ruby SDK to interface with the Dropbox Core API. Locally, I am having no issues using the API in any way. On my AWS server, however, the DB API returns a 500 internal ser...
Greg-DB
Dropbox Community Moderator
11 years agoThanks! In that case, can you make this small edit to the Ruby SDK to enable some additional debugging output? Just add this third line (with set_debug_output) after http is defined in the self.do_http def in the Dropbox module in dropbox_sdk.rb:
def self.do_http(uri, request) # :nodoc:
http = Net::HTTP.new(uri.host, uri.port)
http.set_debug_output $stderr
Then please run the failing method again and copy over the resulting output. Be sure to redact secret values (such as the app secret and access token secret, but please keep the keys showing).
Feel free to open an API ticket with it instead if you'd prefer to share privately:
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!