I’m trying to call a custom webhook which continues to respond with 401 not authorised.
It’s a simple scenario, a make.com webhook, custom, set to listen and respond immediately there is data. It has an API key assigned and the webhook URL copies in the standard format:
https://hook.us2.make.com/\[API-KEY MASKED]
In my APP, I generate an API POST call with Authorisation header and payload file as follows. THe API keys match, I read somewhere in help that these webhooks should accept almost any data as long as the API key is matched, not sure why this is not being accepted.
Initiating verification for mike@maximisedai.com…
> — Full Request Payload —
> URL: https://hook.us2.make.com/\[API-KEY MASKED]
> Method: POST
> Headers:
> { “Content-Type”: “application/json”, “Authorization”: “Bearer [API-KEY MASKED]” }
> Payload Body:
> { “contacts”: [ { “id”: “d2d53cf4-8bb6-49e2-a199-7f4dfca9e87f”, “email”: “MASKED” } ] }
The error response generated is:
>
API Call Failed: Webhook responded with status 401: Unauthorized.
The incoming POST hits the webhook but gets rejected, the log is below:
