Skip to content

Reaching the limits on the Developer plan#

סעיף זה מספק דוגמאות לגופי שגיאה 466 כאשר הגעתם למגבלות על תוכנית המפתחים

פורמט שגיאה 466#

פרמטר הקלד תיאור
invokeStatus object אובייקט נתונים על מצב הגבול
סטטוס מתכתבים object אובייקט נתונים על מצב הגבלה של צ'אטים

פרמטרי אובייקט invokeStatus

פרמטר הקלד תיאור
שיטה **string* שם השיטה או המגבלה
משומש **string* מספר בקשות השיטה לחודש
סה"כ **string* מגבלת בקשות שיטה לחודש. פרטים נוספים על ההגבלות של כל שיטה
סטטוס **string* סטטוס הגבלה
תיאור **string* תיאור המגבלה, אם סטטוס = QUOTE_EXCEEDED

פרמטרי אובייקט correspondentsStatus

Параметр טיפ Описание
שיטה **string* שם המגבלה. כברירת מחדל, הוא מקבל את הערך מתכתבים
משומש **string* מספר הצ'אטים בשימוש החודש
סה"כ **string* המספר הכולל של צ'אטים שניתן להשתמש בהם בחודש. כברירת מחדל, זה 3
סטטוס **string* סטטוס מגבלת צ'אט
תיאור **string* תיאור מגבלת הצ'אט, אם סטטוס = QUOTE_EXCEEDED

דוגמה לשגיאה 466 body עבור שיטות API#

{
    "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"
    }
}

דוגמה לגוף שגיאה 466 עבור מספר הצ'אטים#

{
    "invokeStatus": {
        "method": "sendmessage",
        "used": 67,
        "total": 0,
        "status": "QUOTE_ALLOWED",
        "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"
    },
    "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"
    }
}