LeadConnector error: Raw request failed. Problem executing your request. Invalid JWT
its a action application in zapier i have used xero as an action app which is fetching new quotes from an organization and making it an object for each order i want to use api request(beta) inside lead connector to post that directly to my crm that creates an opportunity.
Page 2 / 2
i have used this url for endpoint
https://services.leadconnectorhq.com
/opportunities/
and for header autorization : bearer i have got the api key from my crm highlevel.
so please help me why its showing that invalid JWT issue.
@TitanWashing Confirmed Zapier is using a private API for the integration. The API Request action will not work.
Only option is the webhook action. I think you basically need a way to generate and store the latest Oauth token and use that in your zapier webhook. Would be curious to hear whether you have created a simple way to generate and store these oAuth tokens.
I have created a private-use app in the GHL developer marketplace. I have also coded a process into the authorization landing page for this app that creates custom values in GHL to store these tokens. Additionally, I have an automation in GHL that updates these tokens every day and pushes the updated tokens out to a table in Zapier automatically. Now if Zapier could get setup to use the new Oauth for GHL’s API v.2 these tokens would come in very handy. As-is I have found workaround through some private apps and webhooks to do most of what I need but native integrations are always preferred when available.
Super helpful. Very much appreciate the thorough response. +1 that the API V2 is used and that we can use the API Request action with it.
@Troy Tessalone I have been dealing with this same exact issue. The problem is, Zapier can’t automatically provide the authentication Header as that token expires / changes every 24 hours. I assume Zapier is just providing the API key in that header which is conflicting with the Oauth Acess Token that the API call is actually looking for. Is there a way to turn off the automatic authentication header in Zapier?
@TitanWashing
Is there a way to turn off the automatic authentication header in Zapier?