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

    Class WhatsAppAPIPayloadTooLargeError

    Thrown when the processed payload exceeds the midddleware's size limits

    This error is triggered when the payload is longer than the expected message size, in order to prevent a DoS attack.

    Since the API documentation states that the upper bound is 3mb, this is the suggested value to throw the error, but it may vary from middleware to middleware.

    This error is triggered on the limit set by the middleware. However, your library or service may trigger an error on a lower limit. In such cases, refer to their documentations to increase the payload limits if needed.

    Hierarchy (View Summary)

    Index

    Properties

    Accessors

    Methods

    Properties

    httpStatus: number

    The HTTP status code of the error

    Accessors

    • get docs(): string

      Returns string

    Methods