Forum Discussion

HelloyIFromRussia's avatar
HelloyIFromRussia
New member | Level 2
4 years ago

error

throughout the day I observe the same error, tell me, is it with the servers or is the error only with me?

 

com.dropbox.core.InvalidAccessTokenException:
at com.dropbox.core.DbxRequestUtil.unexpectedStatus(DbxRequestUtil.java:342)
at com.dropbox.core.DbxRequestUtil.unexpectedStatus(DbxRequestUtil.java:324)
at com.dropbox.core.DbxUploader.finish(DbxUploader.java:290)
at com.dropbox.core.DbxUploader.uploadAndFinish(DbxUploader.java:126)
at com.dropbox.core.DbxUploader.uploadAndFinish(DbxUploader.java:96)
at com.dropbox.core.v2.DbxUploadStyleBuilder.uploadAndFinish(DbxUploadStyleBuilder.java:92)
at com.company.Main.main(Main.java:25)

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    4 years ago

    An InvalidAccessTokenException should indicate that the access token you used to make the call was invalid for that call for some reason. You can use getAuthError to get the AuthError, which should contain a more specific error indicating why it was invalid.

    If you believe you're getting this error incorrectly, please share the version number of the SDK you're using, as well as the steps to reproduce the issue (but don't include any access/refresh token) so we can take a look.

About Dropbox API Support & Feedback

Node avatar for 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!