Java SDK Errors and Solutions
The grant token was generated from the "accounts.zoho.com" domain, but domain suffix was given as "eu" domain.
Provide the same domain suffix in the "zcrm_configuration.properties" file.
The user has not specified the persistence handler class.
Specify the persistence handler class in the "oauth_configuration.properties" file.
The "oauth_token_file_path" key was not specified in the "oauth_configuration.properties" file.
Provide the oauth_token_file_path in the respective file.
The currentUserEmail must have been left empty.
Specify the currentUserEmail.
The client_id and the client_secret keys must have been left empty.
Provide the two keys in the oauth_configuration.properties file.
The grant token has expired.
Regenerate the grant token use it to generate new access token within the stipulated time.
The user must have not specified the Aaaserver.profile.read scope while generating the grant token.
Include Aaaserver.profile.read in the scope and generate a new grant token.
The ZCRMRestClient must have not been initialized in the app.
Include ZCRMRestClient.initialize() in the code.
The "apiVersion" key in the configuration dictionary is "V2", with a capital "V".
Change the value of apiVersion to "v2" in the configuration dictionary.