Zoho CRM Notes via HTTP Request = oauth2 problems

Hi

I could use some help in using n8n to GET Account Notes out of Zoho CRM, as I’m at the stage of going round in circles and starting to repeat my configuration changes, so I feel I must be missing something.

The pre-built Zoho CRM node works when I use it, but unfortunately Account Notes are not one of the options there, so I have been trying to configure an HTTP Request node for this.

When I set up oauth2 credentials in n8n, I can connect account, log in to Zoho in the modal and permit access. But when I test the node I get an authorization error. Making various credential changes (eg using .eu instead of .com - we’re in the UK) still lets me connect account, changes the error (currently on ‘refreshToken is required’) and doesn’t work.

I’ve seen posts here with very complex (to me) workarounds to some combinations of Zoho CRM and oauth2 problems, but not specifically this one - and it is supposed to work :slight_smile: so I hope I can avoid that complexity just to make a connection.

Is there some magic combination of parameters I can use? I hope so - this is my proof of concept to demonstrate the value of n8n!

Thanks!

Stewart

Cloud hosted n8n version 1.81.4






Fixed!

It is fascinating how often the process of asking for help and documenting the issue leads you to a solution yourself.

I flailed around for an entire day before posting, and now …

2 things were causing my problem:

  1. ‘Auth URI Query Parameters’ in the credentials had a hyphen instead of underscore in ‘access_type=offline’

  2. And as we log in to an .eu zoho domain, the URL in n8n HTTP Request should be ‘https://www.zohoapis.eu/crm/v7/Notes

With those changed, the oauth2 errors stopped and I was left with bad request error, but adding query parameters sorted that!

Case closed …

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.