whatsapp-api-js - v6.4.0
    Preparing search index...

    Class WhatsAppAPIUnknownFieldError

    Thrown if the webhook field isn't handled by the library

    The main difference with WhatsAppAPIUnexpectedError is the owner of the error: it's the library fault it doesn't handle this field payload, hence the 200 HTTP status.

    For backwards compatibility, this error extends WhatsAppAPIUnexpectedError, even though it is an expected error if your app is subscribed to different topics.

    Hierarchy (View Summary)

    Index
    httpStatus: number

    The HTTP status code of the error

    • get docs(): string

      Returns string

      The URL to the error's documentation