[go: up one dir, main page]

Skip to content

Reaching the limits on the Developer plan#

This section provides examples of error bodies 466 when the limits on the Developer plan are reached

Error 466 format#

Parameter Type Description
invokeStatus object Object of data about the limit status
correspondentsStatus object Object of data about the limit status of chats

invokeStatus object parameters

Parameter Type Description
method string Name of the method or limit
used string Number of method requests for the month
total string Limit of method requests for the month. More details about the restrictions of each method
status string Limit status
description string Description of the limit, if status = QUOTE_EXCEEDED

correspondentsStatus object parameters

Параметр Тип Описание
method string Name of the limit. By default, it takes the value correspondents
used string Number of chats used for the month
total string Total number of chats that can be used per month. By default, it's 3
status string Chat limit status
description string Description of chat limit, if status = QUOTE_EXCEEDED

Example of error 466 body for API methods#

{
    "invokeStatus": {
        "method": "checkwhatsapp",
        "used": 100,
        "total": 100,
        "status": "QUOTE_EXCEEDED",
        "description": "Monthly quota has been exceeded. Please go to your personal account and change the tariff to business https://console.green-api.com"
    }
}

Example of error 466 body for the number of chats#

{
    "invokeStatus": {
        "method": "sendmessage",
        "used": 67,
        "total": 0,
        "status": "QUOTE_ALLOWED"
    },
    "correspondentsStatus": {
        "method": "correspondents",
        "used": 3,
        "total": 3,
        "status": "CORRESPONDENTS_QUOTE_EXCEEDED",
        "description": "Monthly quota has been exceeded. You can only send or receive messages from these numbers: 12345678901@c.us,12345678910@c.us,12345678911@c.us. Please go to your personal account and change the tariff to business https://console.green-api.com"
    }
}