Reaching the Developer plan limits#
This section provides examples of 466 error bodies when the Developer plan limits are reached
How the recipient identifier format is counted
The same recipient specified in different chat identifier formats (the phone number phoneNumber@c.us and the chat identifier chatId) is counted in the chat quota as different chats — the remaining quota check is not synchronized between these formats. To avoid spending the quota unnecessarily, stick to a single sending format. More details.
Format of error 466#
| Parameter | Type | Description |
|---|---|---|
invokeStatus | object | Object with data about the limit status |
correspondentsStatus | object | Object with data about the chat limit status |
Fields of the invokeStatus object
| Parameter | Type | Description |
|---|---|---|
method | string | Name of the method or limit |
used | string | Number of method requests for the month |
total | string | Limit on method requests for the month. More details about the limits of each method |
status | string | Limit status |
description | string | Limit description, if status = QUOTE_EXCEEDED |
Fields of the correspondentsStatus object
| Parameter | Type | Description |
|---|---|---|
method | string | Limit name. By default takes the value correspondents |
used | string | Number of chats used during the month |
total | string | Total number of chats that can be used per month. By default takes the value 3 |
status | string | Chat limit status |
description | string | Chat limit description, if status = QUOTE_EXCEEDED |
Example of a 466 error 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 a 466 error body for the number of chats#
{
"typeWebhook": "quotaExceeded",
"instanceData": {
"idInstance": 4100000000,
"wid": "79876543210@c.us",
"typeInstance": "telegram"
},
"quotaData": {
"method": "correspondents",
"used": 3,
"total": 3,
"status": "CORRESPONDENTS_QUOTA_EXCEEDED",
"description": "Monthly quota has been exceeded. You can only send or receive messages from following chats: 10000000, 10000001, 10000002. Please go to the console and change the tariff to business https://console.green-api.com"
}
}