Class InvalidAccessTokenException

  • All Implemented Interfaces:
    java.io.Serializable

    public class InvalidAccessTokenException
    extends DbxException
    Gets thrown when the access token you're using to make API calls is invalid.

    A more typical situation is that your access token was valid, but the user has since "unlinked" your application via the Dropbox website (http://www.dropbox.com/account#applications). When a user unlinks your application, your access tokens for that user become invalid. You can re-run the authorization process to obtain a new access token.

    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AuthError getAuthError()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidAccessTokenException

        public InvalidAccessTokenException​(java.lang.String requestId,
                                           java.lang.String message,
                                           AuthError authError)
    • Method Detail

      • getAuthError

        public AuthError getAuthError()