Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
rr z.
11 years agoNew member | Level 1
java sdk: "error": "The given OAuth 2 access token doesn't exist or has expired."
hello,
my application runs non stop (daemon) and checks every 10 seconds if a file has changed (lastmodified)
the application works well, but after some time (1 - 2 days) the token seems to be ...
rr z.
11 years agoNew member | Level 1
hello,
it seems that this still happens.
I am now sure that my application works correctly.
at 15-04-14 08:25:19 (central european time) i created a new token through the app console "generate access token" function and restarted my application
at 15-04-14 20:22:49 the java sdk throws the following exception:
Caused by: {"error": "The given OAuth 2 access token doesn't exist or has expired."}
com.dropbox.core.DbxRequestUtil.unexpectedStatus(DbxRequestUtil.java:208)
com.dropbox.core.DbxClient$2.handle(DbxClient.java:186)
com.dropbox.core.DbxRequestUtil.doGet(DbxRequestUtil.java:242)
com.dropbox.core.DbxClient.doGet(DbxClient.java:1942)
com.dropbox.core.DbxClient.getMetadataWithChildrenBase(DbxClient.java:181)
com.dropbox.core.DbxClient.getMetadataWithChildren(DbxClient.java:148)
it seems that the token has been invalidated after 12 hours.
i am pretty sure that i did not invalidate it.
this is pretty annoying. because it makes the usage of dropbox for this kind of applications unpredictable.
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!