Self Client invalid_code Error
Hello,
We are trying to use the Zoho CRM SDK version 7.0 for Node.js, with an API Self Client. We have our Self Client ID and secret saved, and have generated 2 different refresh tokens.
Every time the SDK tries to get an access token using either of the refresh tokens, we get an invalid_code exception: "SDKException [Error]: invalid_code". We are also able to reproduce this by manually trying to generate an access token with cURL. (Client ID, Secret and Refresh Token have been removed)
- curl --location 'https://accounts.zoho.com/oauth/v2/token' \
--form 'client_id="1000.CLIENT_ID"' \
--form 'client_secret="CLIENT_SECRET"' \
--form 'grant_type="refresh_token"' \
--form 'code="1000.REFRESH_TOKEN"' - {"error":"invalid_code"}
How do we go about addressing this issue so that we can use the SDK?
Thank you for your help!
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Zoho Orchestly Resources
Zoho Creator Resources
Zoho WorkDrive Resources
Zoho Campaigns Resources
Zoho CRM Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.