java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.amazon.identity.auth.device.AuthError.ERROR_TYPE |
Each AuthError has a type to help clients determine what detailed action they want to take
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AuthError.ERROR_TYPE | ERROR_ACCESS_DENIED | ACTION Invalid API Key - See logs for more info |
|||||||||
AuthError.ERROR_TYPE | ERROR_AUTH_DIALOG | INTERNAL Currently NOT used by Authorization SDK |
|||||||||
AuthError.ERROR_TYPE | ERROR_BAD_API_PARAM | BAD_REQUEST Currently NOT used by Authorization SDK |
|||||||||
AuthError.ERROR_TYPE | ERROR_BAD_PARAM | INTERNAL Bad parameter used by SDK |
|||||||||
AuthError.ERROR_TYPE | ERROR_COM | NETWORK Unable to connect when making network request |
|||||||||
AuthError.ERROR_TYPE | ERROR_DATA_STORAGE | INTERNAL Failure while using data storage |
|||||||||
AuthError.ERROR_TYPE | ERROR_DCP_DMS | ACTION Currently NOT used by Authorization SDK |
|||||||||
AuthError.ERROR_TYPE | ERROR_DIRECTED_ID_NOT_FOUND | BAD_REQUEST Currently NOT used by Authorization SDK |
|||||||||
AuthError.ERROR_TYPE | ERROR_FORCE_UPDATE | ACTION Currently NOT used by Authorization SDK |
|||||||||
AuthError.ERROR_TYPE | ERROR_INIT | BAD_REQUEST Currently NOT used by Authorization SDK |
|||||||||
AuthError.ERROR_TYPE | ERROR_INVALID_API | BAD_REQUEST Currently NOT used by Authorization SDK |
|||||||||
AuthError.ERROR_TYPE | ERROR_INVALID_CLIENT | ACTION Server has indicated the client is invalid. |
|||||||||
AuthError.ERROR_TYPE | ERROR_INVALID_GRANT | ACTION Server has indicated the client is not authorized to use the requested grant(s). |
|||||||||
AuthError.ERROR_TYPE | ERROR_INVALID_SCOPE | ACTION Server has indicated the current authorization does not have the requested scope. |
|||||||||
AuthError.ERROR_TYPE | ERROR_INVALID_TOKEN | ACTION Server has indicated an issue with the token/code parameters that were sent. |
|||||||||
AuthError.ERROR_TYPE | ERROR_IO | NETWORK IOException on HttpClient.execute |
|||||||||
AuthError.ERROR_TYPE | ERROR_JSON | INTERNAL JSONException when trying to create org.json.JSONObject from a server response (incorrect data or badly formatted json) |
|||||||||
AuthError.ERROR_TYPE | ERROR_MISSING_CODE_CHALLENGE | BAD_REQUEST Missing code challenge exception |
|||||||||
AuthError.ERROR_TYPE | ERROR_MISSING_TOKEN_FOR_REQUIRED_SCOPES | BAD_REQUEST Missing token for required scopes |
|||||||||
AuthError.ERROR_TYPE | ERROR_PARSE | INTERNAL Exception when trying to parse JSON response - typically when looking for an attribute in JSON that does not exist, but should |
|||||||||
AuthError.ERROR_TYPE | ERROR_REGISTRATION | ACTION Error during user registration |
|||||||||
AuthError.ERROR_TYPE | ERROR_RESOURCES | BAD_REQUEST Currently NOT used by Authorization SDK |
|||||||||
AuthError.ERROR_TYPE | ERROR_REVOKE_AUTH | INTERNAL Currently NOT used by Authorization SDK |
|||||||||
AuthError.ERROR_TYPE | ERROR_SECURITY | BAD_REQUEST Currently NOT used by Authorization SDK |
|||||||||
AuthError.ERROR_TYPE | ERROR_SERVER_REPSONSE | INTERNAL Server response data was incorrect |
|||||||||
AuthError.ERROR_TYPE | ERROR_THREAD | INTERNAL Failure due to thread usage |
|||||||||
AuthError.ERROR_TYPE | ERROR_UNAUTHORIZED_CLIENT | ACTION Server has indicated The authenticated client is not authorized to use this authorization grant type. |
|||||||||
AuthError.ERROR_TYPE | ERROR_UNKNOWN | UNKNOWN Unknown Exception |
|||||||||
AuthError.ERROR_TYPE | ERROR_WEBVIEW_SSL | ACTION Android OS is older than FROYO and an SSL error was seen on Sign-in. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
ACTION
Invalid API Key - See logs for more info
INTERNAL
Currently NOT used by Authorization SDK
BAD_REQUEST
Currently NOT used by Authorization SDK
NETWORK
Unable to connect when making network request
INTERNAL
Failure while using data storage
ACTION
Currently NOT used by Authorization SDK
BAD_REQUEST
Currently NOT used by Authorization SDK
ACTION
Currently NOT used by Authorization SDK
BAD_REQUEST
Currently NOT used by Authorization SDK
BAD_REQUEST
Currently NOT used by Authorization SDK
ACTION
Server has indicated the client is invalid. If this Error is seen the developer should update their APIKey
ACTION
Server has indicated the client is not authorized to use the requested grant(s). Local Authorization is invalidated. If this Error is seen trigger indication for the user to authorize again
ACTION
Server has indicated the current authorization does not have the requested scope. If this Error is seen trigger indication for the user to authorize again.
ACTION
Server has indicated an issue with the token/code parameters that were sent. If this Error is seen trigger indication for the user to sign-in again
INTERNAL
JSONException when trying to create org.json.JSONObject from a server response (incorrect data or badly formatted json)
BAD_REQUEST
Missing code challenge exception
BAD_REQUEST
Missing token for required scopes
INTERNAL
Exception when trying to parse JSON response - typically when looking for an attribute in JSON that does not exist, but should
BAD_REQUEST
Currently NOT used by Authorization SDK
INTERNAL
Currently NOT used by Authorization SDK
BAD_REQUEST
Currently NOT used by Authorization SDK
INTERNAL
Server response data was incorrect
ACTION
Server has indicated The authenticated client is not authorized to use this authorization grant type.
ACTION
Android OS is older than FROYO and an SSL error was seen on Sign-in. This means the WebView will not display this to the user so we want the info to propagate to the client