המשתמש סגר את החיבור בזמן שהשרת עיבד את הבקשה. יש צורך להאריך את זמן ההמתנה לתגובה מהשרת ולחזור על הבקשה באיחור. אם השגיאה נמשכת, הודע למפעיל וספק הזדמנות לנסות שוב את ההגשה
השרת אינו יכול לקבל תגובה משרת היעד. יש צורך לחזור על הבקשה 3 פעמים באיחור. אם השגיאה נמשכת, הודע למפעיל וספק הזדמנות לנסות שוב את ההגשה
##שגיאות בגוף ה-webhooks
קוד שגיאה
פרמטר
תיאור
פתרון
{{SWE001}}
הודעת טקסט
שגיאה בקבלת ההודעה הנכנסת הראשונה בצ'אט כאשר נשלחה למכשירים נוספים מהצד של WhatsApp. זה נצפה גם בגרסאות האינטרנט והשולחן העבודה המקוריות. למעשה, כל המכשירים הנוספים מקבלים הודעה ריקה. דוגמה לגוף Webhook
כדי ללכוד את סמן הטקסט {{SWE001}} בגוף ההודעה ולהגדיר את הבוט לבקש מחדש את ההודעה מהשולח עם הטקסט הבא: "אנא שלח את הודעתך שוב, לא יכולתי לראות את תשובתך".
'chatId' must be one of the next formats: 'phone_number@c.us' or 'group_id@g.us
Invalid format of field chatId, the field is specified in the format phone_number@c.us or group_id@g.us
'message' length must be less than or equal to 20000 characters long
The message text must be less than or equal to 20 000 characters
'message id' must be at least 16 symbols
The message's iD must be at least 16 characters long, check that the specified idmessage is correct.
'wrongFieldName' is not allowed
Extra field in request
'{{field}}' is not allowed
Extra field in request
'{{field}}' is required
A required field is missing
'{{field}}' is not allowed to be empty
A required field cannot be empty
'XXX' must be a string
Invalid data type for field XXX - field must be of type string. Fields of this type: message, idMessage,quotedMessageId, groupId, groupName, participantChatId, options[X].optionName, urlFile
'XXX' must be a boolean
Invalid data type for field XXX - field must be of type boolean. Fields of this type: linkPreview, multipleAnswers
'XXX' must be an array
Invalid data type for field XXX - field must be of type array. Fields of this type: chatIds, options, messages