Class WhatsAppAPIMissingSignatureError

Thrown when the request's signature is missing

In order to validate the request, the x-hub-signature-256 header is required to do the signature verification.

If you are NOT using a middleware, make sure you are passing the headers correctly (check case sensitivity). Otherwise, feel free to open an issue on GitHub.

await whatsapp.post(JSON.parse(req.body), req.body, req.headers.get("x-hub-signature-256"));

Hierarchy (View Summary)

Properties

Accessors

Methods

Properties

httpStatus: number

The HTTP status code of the error

Accessors

  • get docs(): string
  • Returns string

Methods