com.zoho.accounts.externalframework

Enum ZohoErrorCodes

  • java.lang.Object
    • java.lang.Enum< ZohoErrorCodes >
      • com.zoho.accounts.externalframework.ZohoErrorCodes
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable< ZohoErrorCodes >

     
    public enum ZohoErrorCodes
    extends java.lang.Enum <ZohoErrorCodes>

Enum Constant Summary

Multiple requests failed with same Refresh Token
The limit for access token reached
Something went wrong
Authtoken invalidated
Invalid Client ID (or) client Credentials did not match
Client Secret did not match
Invalid client type
Code Expired (or) Invalid Refresh Token
FCM token is invalid
Invalid grant type
Invalid JSON Response
Refresh token revoked from the web, Logout!
Invalid OAuth Scopes
Code Expired (or) Invalid Refresh Token
The scope has an invalid operation
Invalid Redirect Url configured
Invalid Scopes
Internet Interrupted
No User present
No data in redirection
Success
The limit for refresh token reached
Error when getting the remote token
Scope enhancement Failed
Refresh token limit reached
OAuth Client is Invalid
User canceled

Enum Constant Detail

  • NETWORK_ERROR

    Internet Interrupted

    public static final  ZohoErrorCodes NETWORK_ERROR
  • OK

    Success

    public static final  ZohoErrorCodes OK
  • user_cancelled

    User canceled

    public static final ZohoErrorCodes user_cancelled
  • no data

    No data in redirection

    public static final ZohoErrorCodes nodata
  • unauthorized_client

    OAuth Client is Invalid

    public static final ZohoErrorCodes unauthorized_client
  • invalid_client

    Invalid Client ID (or) client Credentials did not match

    public static final ZohoErrorCodes invalid_client
  • invalid_redirect_uri

    Invalid Redirect Url configured

    public static final ZohoErrorCodes invalid_redirect_uri
  • invalid_client_secret

    Client Secret did not match

    public static final ZohoErrorCodes invalid_client_secret
  • invalid_code

    Code Expired (or) Invalid Refresh Token

    public static final ZohoErrorCodes invalid_code
  • INVALID_OAUTHTOKEN

    Code Expired (or) Invalid Refresh Token

    public static final ZohoErrorCodes INVALID_OAUTHTOKEN
  • access_denied

    Multiple requests failed with same Refresh Token

    public static final ZohoErrorCodes access_denied
  • invalid_scope

    Invalid Scopes

    public static final ZohoErrorCodes invalid_scope
  • INVALID_OAUTHSCOPE

    Invalid OAuth Scopes

    public static final ZohoErrorCodes INVALID_OAUTHSCOPE
  • general_error

    Something went wrong

    public static final ZohoErrorCodes general_error
  • scope_enhancement_failed

    Scope enhancement Failed

    public static final ZohoErrorCodes scope_enhancement_failed
  • remote_token_error

    Error when getting the remote token

    public static final ZohoErrorCodes remote_token_error
  • invalid_fcm_token

    FCM token is invalid

    public static final ZohoErrorCodes invalid_fcm_token
  • invalid_mobile_code

    Refresh token revoked from the web, Logout!

    public static final ZohoErrorCodes invalid_mobile_code
  • no_user

    No User present

    public static final ZohoErrorCodes no_user
  • invalid_grant

    Invalid grant type

    public static final ZohoErrorCodes invalid_grant
  • token_limit_reached

    Refresh token limit reached

    public static final ZohoErrorCodes token_limit_reached
  • invalid_json_response

    Invalid JSON Response

    public static final ZohoErrorCodes invalid_json_response
  • refresh_token_limit_reached

    The limit for refresh token reached

    public static final ZohoErrorCodes refresh_token_limit_reached
  • access_token_limit_reached

    The limit for access token reached

    public static final ZohoErrorCodes access_token_limit_reached
  • invalid_client_type

    Invalid client type

    public static final ZohoErrorCodes invalid_client_type
  • invalid_authtoken

    Authtoken invalidated

    public static final ZohoErrorCodes invalid_authtoken
  • invalid_operation_type

    The scope has an invalid operation

    public static final ZohoErrorCodes invalid_operation_type

Method Detail

  • values

    Returns an array containing the constants of this enum type, in the order, they are declared.

    public static ZohoErrorCodes[] values()

    This method may be used to iterate over the constants as follows:

    for (ZohoErrorCodes c : ZohoErrorCodes.values())
        System.out.println(c);
    Returns:
    An array containing the constants of this enum type, in the order they are declared
  • valueOf

    public static ZohoErrorCodes valueOf(java.lang.String name)
    Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
    Parameters:
    name - the name of the enum constant to be returned.
    Returns:
    The enum constant with the specified name
    Throws:
    java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
    java.lang.NullPointerException - if the argument is null
  • getDescription

    public java.lang.String getDescription()