Skip to content

Reaching the limits on the Developer plan#

Beta version

The functionality is in beta. Features may change and may also work unstably.

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

How the recipient identifier format is counted

One and the same recipient specified in different chat identifier formats (the numeric chatId and the username) is counted in the chat quota as different chats - the quota check is not synchronized between these formats. To avoid spending the quota needlessly, stick to a single sending format. More details.

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

Parameter Type Description
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 the chat limit, if status = QUOTE_EXCEEDED

Example of error 466 body for API methods#

{
    "invokeStatus": {
        "method": "checkAccount",
        "used": 100,
        "total": 100,
        "status": "QUOTE_EXCEEDED",
        "description": "Monthly quota has been exceeded. Please go to your console 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",
        "description": "Monthly quota has been exceeded. You can only send or receive messages from following chats: 49547665464, 25025320, 340282366841710300949128174631143137232. Please go to your personal account and change the tariff to business https://console.green-api.com"
    },
    "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 following chats: 49547665464, 25025320, 340282366841710300949128174631143137232. Please go to your personal account and change the tariff to business https://console.green-api.com"
    }
}