Question

Webhook to Zoho Desk API getting “The OAuth Token you provided is invalid” error

  • 18 October 2021
  • 1 reply
  • 536 views

Userlevel 1

I’m tring to set up a Zapier action with webhook by Zapier. I need to update some Zoho Desk contact information and Zoho Desk integration with Zapier is not enough.

When I test my action I receive this message: The app returned "The OAuth Token you provided is invalid.".

I’m not an expert...I two header to autenticate:

orgId and Authorization  (as you can read here: https://desk.zoho.com/DeskAPIDocument#GettingStarted), but I’m not sure aboute the Auth Token I have generated. Zoho Desk give me a lot of possibilities to create a token:

  • Java Script: Applications that run exclusively on a browser and are independent of a web server.

  • Web Based: Applications that are clients running on a dedicated HTTP server.

  • Mobile: Applications that are installed on smart phones and tablets.

  • Non-browser Mobile Applications: Applications for devices without browser provisioning such as smart TVs and printers.

  • Self Client: If your application is a stand-alone application that performs only back-end jobs like data-sync (without any manual intervention).

 What kind of client have I to use?

What parameters have I to write?

Thano you in adavance

 

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 6
Badge +6

Hey @Vcarnemolla ,

 

The meaning of the error is it is invalid token. Tokens in Zoho Desk API’s are valid for some define period and after that you have to regenerate the token.  You can learn here how to authenticate Zoho Desk API’s https://desk.zoho.com/DeskAPIDocument#OauthTokens

 

Note - To make Webhooks calls for API’s where authentication is Oauth 2.0 is vey challenging and only an expert can do. I will suggest consider hiring an expert from experts directory here (or you can hire me).