We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
psray47
5 years agoNew member | Level 2
SimpleTest waits on GetContextAsync() call
I am attempting to retrieve the access token via the Dropbox SDK and I am using the SimpleTest program. The browser keeps going to an error page after log in and the progress in HandleOAuth2Redirect...
- 5 years ago
Thanks! The LoopbackHost in the sample code as provided is "http://127.0.0.1:52475/", not "https://localhost/", so it does sound like that was a change you made.
I would not expect "https://localhost/" to work, as you wouldn't normally have an SSL/TLS certificate for localhost. Please trying switching that back to the original value and try again.
psray47
5 years agoNew member | Level 2
Thanks for the quick response. The version is 6.1.0 though it is the same in 4.9.
I have made no modifications other than to include my ApiKey value over the xxxxx in the ApiKey assignment and set the LoopbackHost to "https://localhost/" (not sure if that was a change).
Only outputs are typical symbols loaded messages. No other errors.
URL: https://localhost/authorize#uid=2043413648&access_token=xxxxx&token_type=bearer&state=01e0755450044ccc86972ed65edbbc7f&scope=account_info.read+account_info.write+files.content.read+files.content.write+files.metadata.read+files.metadata.write&account_id=dbid%3AAABY27bg64bgzUqQ4xF8XUoxciuqDZAeIdI
Greg-DB
Dropbox Community Moderator
5 years agoThanks! The LoopbackHost in the sample code as provided is "http://127.0.0.1:52475/", not "https://localhost/", so it does sound like that was a change you made.
I would not expect "https://localhost/" to work, as you wouldn't normally have an SSL/TLS certificate for localhost. Please trying switching that back to the original value and try again.
About Discuss Dropbox Developer & API
Make connections with 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!