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 1 / 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.
This is the API endpoint link, but it is not the link to the API endpoint documentation that shows the requirements for the API endpoint request, such as method, headers, parameters, etc.
api endpoint used. https://services.leadconnectorhq.com /opportunities/
Try removing the Authorization header as it is already included per the section indicator.
Failed to create a http request in LeadConnector
Raw request failed. Problem executing your request: version header was not found.
got this issue when i removed all headers and when i used that 2021-07-28 it says not a valid header
@Talha1122
The feedback was to only remove the Authorization header.
Try removing the Authorization header as it is already included per the section indicator.
API docs indicate 2 Headers are required.
Zapier should automatically include the Authorization Header as indicated.
You would need to configure the Version Header.
NOTE: For us to have current context, you will need to post updated screenshots with how your Zap steps are configured in EDIT mode, along with encountered errors.
Failed to create a http request in LeadConnector
Raw request failed. Problem executing your request: 2021-07-28 is not a legal HTTP header value
@Talha1122
Including this note:
NOTE: For us to have current context, you will need to post updated screenshots with how your Zap steps are configured in EDIT mode, along with encountered errors.
@Talha1122
If you need help, consider hiring a CertifiedZapierExpert from the directory: https://zapier.com/experts
Looks like you have a line break after your Version value (2021-07-28), which should be removed.
This is not a valid Body structure as defined by the API endpoint docs:
@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?
Hi @Troy Tessalone, to piggy back off of @TitanWashing’s response -- the action should be dynamically taking the latest authentication header from the account that is connected to the zap, but it seems like it’s not, so an expired auth token (if any at all) is being passed to the endpoint which is causing the failure.
I can replicate the issue. Is there a formal process to have a ticket submitted for zapier to look at this?
It would be a nice feature to be able to turn off the auto auth-header (per zap of course) and be able to just grab our latest token from our table where it’s stored and updated daily. The issue comes in when the 2 headers are conflicting with each other.