I am working on ZOHO Desk automation and need to get the ZOHO auth token for n8n
I created the app in ZOHO Desk API, got client id and client secret. Added all data required to get a token in n8n.
After I sign in with my ZOHO credentials in ZOHO oauth2 login window and accepting the grant operation, I get the page with the address n8n - OAuth Callback (and long list of parameters) and text
“Error: Unsupported content type: text/html;charset=utf-8
More details
Failed to connect. The window can be closed now.”
I tried to construct the token request URL and use it in browser, and I got the text
“Something went wrong. Please try again!”
Not too verbose, and looks like that Zoho is to blame for returning plain text instead of JSON with token. However, when I follow the same workflow in Postman, I can get the token properly.
I suppose the issue is with callback URL I use, but n8n forces me to use
https://oauth.n8n.cloud/oauth2/callback
What could be an issue? Thanks.
PS I use n8n cloud.