Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Hein B.
11 years agoNew member | Level 1
can't authenticate with javascript
I try to use the datastore API with javascript. This is my Code:
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta charse...
Steve M.
Dropbox Staff
11 years agoThe code I see here should all work once authentication has been started, but I don't see a call to start authentication.
Somewhere (e.g. on a button click) should be a call to client.authenticate(function (error) { ... }); (no { interactive: false }). That will start the authentication flow, and then when the user returns to the page, your existing code should finish the auth process.
For an example, see https://www.dropbox.com/developers/datastore/tutorial/js#linking-accounts.
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!