As it isn’t possible to upload attachments to ZOHO CRM with the ZOHO node I created a HTTP Request node and configured a oAuth2 connection. The request works as expected but after some minutes the requests fail and the ZOHO API responds:
{
"status": "rejected",
"reason": {
}
}
When I reconnect the connection in the node it works again for several minutes.
Hey @Gould, I just tried a workflow using credentials I hadn’t touched since a month (this one) and the OAuth2 credentials did not expire.
I wonder if Zoho’s API might require a special scope/query parameter for offline access/continued access without user interaction. For Google for example I needed to add a query parameter access_type=offline in the Auth URI Query Parameters field from your screenshot, otherwise no refresh token would be issued by Google (which is required to refresh the access token).
Do you have a link to the respective API documentation by any chance?
I’m connected to Zoho CRM via a custom OAuth2 API connection with an Auth URI Query Parameter of access_type=offline yet am still experiencing the refresh token error after an hour. Have things changed since this time a year ago with Zoho? Their documentation seems to still indicate this as valid…