Meta Tech Provider
WhatsApp 錯誤 131009:參數值無效
錯誤 131009 表示一個或多個參數值無效:欄位存在並已獲識別,但其內容並非端點接受的值。地區代碼、電話號碼格式及列舉值是最常見的原因。
最常失敗的值
以下 3 種格式佔大多數,而且對閱讀者而言看起來都正確。
- 地區代碼:範本建立時使用 en_US,卻傳送 en;或範本使用 pt_BR,卻傳送 pt。
- 電話號碼包含標點、開頭的 0 或加號,但端點預期的是國際格式的純數字。
- 列舉值大小寫錯誤,例如範本類別使用小寫。
- 日期或時間戳記所用格式與端點文件所述格式不同。
為甚麼要特別說明地區代碼問題
因為視乎端點而定,它會產生兩種不同錯誤,令人追查錯誤方向。
傳送範本時,如果該名稱沒有對應語言,會返回 132001,看起來像是找不到範本。若端點先驗證地區代碼,而您提供格式錯誤的值,則會返回此錯誤。兩者本質上是同一個錯誤,修正方法也是一樣:讀取範本清單,複製準確的語言字串,不要自行假定其格式。
常見錯誤
- 以為 en 和 en_US 可以互換。兩者代表不同範本。
- 傳送帶有加號或標點的電話號碼。應使用國際格式的純數字。
- 重試。這個值必然是錯誤的。
使用 EasyCoexistence 完成這項設定
EasyCoexistence 會列出範本的準確語言代碼,因此傳送的值就是 Meta 儲存的值,而不是看似正確的值。
常見問題
哪個值不正確?
回應通常會指出參數。若沒有指出,應先檢查地區代碼及電話格式。
電話號碼應如何格式化?
使用國際格式的純數字,不要加入加號或標點。
為甚麼同一個錯誤有時會返回 132001?
因為傳送範本時會一併識別名稱及語言,未知的配對會被視為找不到範本。
這是我的號碼有問題嗎?
不是。這個錯誤只涉及請求。
繼續閱讀
WhatsApp error 100: invalid parameterError 100 means a parameter was unsupported, misspelled or malformed. It is the broadest error on the platform and it never clears by retrying.WhatsApp error 131008: required parameter missingError 131008 means a parameter the endpoint requires was not included. Narrower than error 100, and usually one field away from working.WhatsApp error 132001: template does not existError 132001 means the template name and language pair you sent does not exist or is not approved. The language code is the usual cause.WhatsApp Coexistence: the app and the API on one numberCoexistence runs the WhatsApp Business app and the Cloud API on the same number at once. What it changes, what it does not, and how a number gets connected.WhatsApp error 131051: unsupported message typeError 131051 means the message type is not supported. On a Coexistence number some types are unavailable, which is the common cause.WhatsApp error 131052: media download failedError 131052 means Meta could not download media from a message. What causes it and why asking the customer to resend is usually the fix.
準備開始嗎?
幾分鐘內設定 WhatsApp Coexistence,而非幾個月。應用程式在手機上仍可繼續運作。
開始免費試用驗證日期