Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I have been playing round with the PHP SDK, but have not figured out exactly what I should be sending back for the verification request. the documentation rather ambigously says "Your app needs to respond by echoing back that challenge parameter." However the error returned states
Error: error:14077458:SSL routines:SSL23_GET_SERVER_HELLO:reason(1112)
Response:
(No headers)
Response Body (First 256 bytes):
(No response body)
Is there some sample code for PHP? The documentation only has Python.
Thanks,
Paul.
You need to return the value of the query string parameter called "challenge".
This PHP code should do the trick:
<?php
echo $_GET['challenge'];
?>
Actually, I missed the SSL error in your post. If there's an SSL error, it means we can't even connect to your server to get a response. You'll need to resolve that issue first... if you need help, please open an API support ticket: https://www.dropbox.com/developers/contact.
Thanks for the quick response!
I tried a simple echo statement first, but it would seem the SSL error is causing the issue.
Oddly enough the SSLTester returns OK:
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!