Meta Tech Provider
WhatsApp 錯誤 100:參數無效
錯誤 100 表示請求帶有 Meta 不接受的參數:不受支援、拼寫錯誤,或不符合該端點所需的結構。這是可預期的錯誤,因此相同請求每次都會以完全相同的方式失敗,重試也沒有作用。
甚麼情況會產生錯誤
請求本文或查詢內容有部分不獲端點識別,而成因通常一致且容易重現。
- 欄位名稱拼寫錯誤,或大小寫不正確。
- 參數屬於另一個端點。
- 值的類型不正確,例如端點預期整數,卻以字串傳送數字。
- 巢狀物件被攤平,或應使用物件的位置卻傳送了平面值。
為甚麼重試沒有作用
因為每次嘗試之間,平台沒有任何改變。格式不正確的請求在第二次嘗試時,仍會因為與第一次相同的原因而失敗;圍繞此錯誤建立重試迴圈,只會在原有問題之上觸發速率限制,而不會成功。
有效的做法是把請求本文連同錯誤記錄下來,再逐一欄位與端點參考資料比較。幾乎每次都能在查看後一分鐘內找出差異。
常見錯誤
- 重試。請求是可預期的,每次都會以完全相同的方式失敗。
- 以為問題出在號碼。此錯誤從不表示連接有任何問題。
- 把它當成一般錯誤。它明確指出參數問題,而更具體的代碼 131008 和 131009 分別用於參數缺失及數值超出範圍。
使用 EasyCoexistence 完成這項設定
EasyCoexistence 透過控制台和 MCP 連接器提供所需的認證資料及 phone number id,讓您根據 Meta 實際持有的值建立請求,而不是依賴曾經抄下的資料。
常見問題
這是否表示我的號碼壞了?
不是。此錯誤只涉及請求,號碼不受影響。
為甚麼錯誤訊息這麼含糊?
這是參數問題的通用代碼。Meta 另有更具體的代碼,分別處理參數缺失和數值無效。
供應商會導致這個錯誤嗎?
只有在供應商建立請求時才可能。在直接整合中,請求由您建立。
我應否使用退避機制重試?
不應。這是可預期的錯誤,重試只會為非暫時性問題增加速率限制。
繼續閱讀
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 131009: invalid parameter valueError 131009 means a parameter was present with a value the endpoint does not accept. Common causes: locale codes, phone formats and enum values.WhatsApp error 132000: parameter count mismatchError 132000 means the number of variables you sent does not match the number the template defines. How to count them and why it appears after an edit.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 Cloud API error codesEvery WhatsApp Cloud API error code in one table: what each one means, whether retrying helps, and the page that covers it in full.
準備開始嗎?
幾分鐘內設定 WhatsApp Coexistence,而非幾個月。應用程式在手機上仍可繼續運作。
開始免費試用驗證日期