# Webhook 401 Unauthorized: invalid or empty HMAC header in Celigo: cause and fix

Source page: https://ipaaserrors.com/celigo/webhook-401-hmac-invalid-header
Platform: Celigo · Webhook listener · Code 401
Checked against vendor docs: 2026-11-17

A Celigo webhook that returns 401 Unauthorized with "Invalid header: <name> or <name> empty!" failed HMAC verification. Make sure the calling system sends the HMAC header named in the message with a value that matches the webhook listener's HMAC settings.

## Error text

```
Invalid header: <name> or <name> empty!
```

## Likely causes

- HMAC verification failed.

## How to fix it

1. Read the `WWW-Authenticate` header of the 401 response to see which header is named.
2. Check the HMAC verification settings on the webhook listener in integrator.io, including the header name.
3. Confirm the calling system sends that header, that it is not empty, and that it is signed to match those settings, then send the request again.

## Notes

The 401 response's `WWW-Authenticate` header names the reason. The docs list the reasons and do not give fix steps, so the steps above follow directly from each documented reason.

## Sources

- [Webhook response codes returned by integrator.io](https://docs.celigo.com/hc/en-us/articles/4416536422939-Webhook-response-codes-returned-by-integrator-io)

From iPaaS Errors (https://ipaaserrors.com), part of iPaaS Group. When citing, link to https://ipaaserrors.com/celigo/webhook-401-hmac-invalid-header and the vendor documentation above.
