I am getting message=Exception("Error while refres...
# ask-ai
p
I am getting message=Exception("Error while refreshing access token: 'access_token'"),additionalProperties={}], while connecting with zoho crm
k
It looks like you're encountering an issue with refreshing the access token while connecting to Zoho CRM. Here are some steps and considerations to help you troubleshoot and resolve this issue: 1. Ensure Correct OAuth2.0 Credentials: - Make sure you have correctly set up the OAuth2.0 credentials, including the Client ID, Client Secret, and Refresh Token. You can follow the setup guide provided in the [Airbyte documentation](https://docs.airbyte.com/integrations/sources/zoho-crm#setup-guide-airbyte-open-source). 2. Generate Refresh Token: - Ensure that you have generated the refresh token correctly. The initial token granted by Zoho CRM is only live for a few minutes before it can no longer be used to generate a refresh token. Follow the steps outlined in the [Zoho CRM API documentation](https://www.zoho.com/crm/developer/docs/api/v2/access-refresh.html) to generate the refresh token. 3. Check Data Center Location and Environment: - Verify that you have selected the correct Data Center Location and Environment. The base URLs for different environments are listed in the [Airbyte documentation](https://docs.airbyte.com/integrations/sources/zoho-crm#production). 4. Log Details: - Review the logs for any additional details that might help diagnose the issue. The logs you provided show that the Docker container is being created and the source is being checked, but the error occurs during the token refresh process. Here is a summary of the required configuration fields for Zoho CRM:
Copy code
markdown - Client ID: `client_id` - Client Secret: `client_secret` - Refresh Token: `refresh_token` - Data Center Location: `dc_region` - Environment: `environment` - Zoho CRM Edition: `edition` - Start Date: `start_datetime` (optional)
If you have verified all the above steps and are still encountering issues, you might want to check the format of the
start_datetime
field, as incorrect formats can also cause issues. The accepted formats are ISO 8601, such as
YYYY-MM-DD
,
YYYY-MM-DD HH:MM:SS+HH:MM
, etc. For more detailed guidance, you can refer to the [Airbyte documentation on Zoho CRM](https://docs.airbyte.com/integrations/sources/zoho-crm#reference). If the issue persists, consider reaching out on the [Airbyte forum](https://discuss.airbyte.io/t/2522) for further assistance.