Hi @fergusga
Good question.
Please post detailed screenshots with how your Zap step is configured in order for us to have enough context, thanks.
Make sure to obscure any API Key and PII.
What issue/error are you encountering?
I am using the Zapier Webhook with the event of ‘retrieve poll’. The error is:
Failed to fetch an entry from your webhook URL Error while retrieving: The app returned "Invalid access token".
@fergusga
My recommendation would be to consider hiring a Zapier Expert to help: https://zapier.com/experts
The error message means the Header for Authorization has an invalid access token.
OAuth : https://learn.microsoft.com/en-us/linkedin/shared/authentication/authorization-code-flow?view=li-lms-2022-11&tabs=HTTPS1
Generally to handle OAuth, a custom Zap app would need to be built: https://zapier.com/platform
Otherwise, additional Zap steps would be needed to handle OAuth, which can be a much more advanced approach and use Zap Tasks.
Other things to be aware of:
@fergusga Generally speaking, Bearer tokens used for Oauth authentication expire. Postman has methods built in to handle getting these authorization tokens and redirecting the user has necessary during the Oauth flow. If you followed the docs here: https://learn.microsoft.com/en-us/linkedin/shared/authentication/postman-getting-started?view=li-lms-2022-11 then you went through a typical 3 legged authentication process which is not supported in a Zapier webhook trigger. For this type of authentication you will need to build a custom app at developer.zapier.com