How do I do basic authentication for webhook.
I’m passing valid userid and password in a pipe(|) separated way for the endpoint.
e.g. myuserid|mypassword
But every time its throwing http 401
How do I do basic authentication for webhook.
I’m passing valid userid and password in a pipe(|) separated way for the endpoint.
e.g. myuserid|mypassword
But every time its throwing http 401
Hello
A 401 error means "Unauthorized." This typically happens when:
Are you doing it in the Zapier Developer platform? You can also check this article here.
Hello
A 401 error means "Unauthorized." This typically happens when:
Are you doing it in the Zapier Developer platform? You can also check this article here.
We are using basic authentication. No api key, certificate etc.
Its user id and password, typed in webhook basicauthentication form field.
We are using Zap; no Zaper Developer platform.
Hi
Can you share a screenshot showing the setup of the Webhooks action? That will help us to better identify what might be going wrong with it. Be sure to blur/remove any personal info (names, emails, passwords etc.) before sharing—you can use a tool like Zappy for that.
Also, can you share a link to the API documentation you’re referencing to set up the request? That’ll help to give us a bit more context on what the requirements the API has for the request itself.
Looking forward to hearing from you!
Hi
Can you share a screenshot showing the setup of the Webhooks action? That will help us to better identify what might be going wrong with it. Be sure to blur/remove any personal info (names, emails, passwords etc.) before sharing—you can use a tool like Zappy for that.
Also, can you share a link to the API documentation you’re referencing to set up the request? That’ll help to give us a bit more context on what the requirements the API has for the request itself.
Looking forward to hearing from you!
I have attached the basic auth section with userid and pasword. Thats the setting I’m trying.
I even kept the hover text which which says basic auth should be pipe(|) seperated.
Sorry for missing your reply,
The way you’ve entered the example username and password looks correct. That said, the URL endpoint you’re using doesn’t appear to be an actual API endpoint, which could explain the error you’re seeing. Also, I can’t see whether the authorization header is being set correctly—if it’s missing or incorrect, that could definitely cause issues too.
Without access to the API documentation for the app you’re trying to send a request to, it’s tricky to say exactly what might need to change on the setup. If you’re not able to share that documentation here, I’d recommend reviewing it to confirm:
You’re using the correct endpoint (not just the base website URL).
The request includes all required headers.
The Payload Type (Form) matches what the API expects.
Keep us posted on your progress, want to make sure this gets sorted!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.