Meta Tech Provider
WhatsApp 错误 100:参数无效
错误 100 表示请求携带了 Meta 不接受的参数:不受支持、拼写错误,或格式不符合该端点的要求。它是确定性的,因此同一请求每次都会以完全相同的方式失败,重试永远无效。
是什么导致这个错误
请求正文或查询参数中有端点无法识别的内容,原因通常很明确。
- 字段名称拼写错误,或大小写不对。
- 参数属于另一个端点。
- 值的类型错误,例如端点要求整数,却以字符串发送数字。
- 嵌套对象被扁平化,或应为对象的位置却传入了扁平值。
为什么重试没有意义
因为两次尝试之间,平台没有任何变化。格式错误的请求在第二次尝试时仍会因同样原因出错,围绕这个错误建立重试循环,只会在原有问题上增加速率限制,不会带来成功。
正确做法是将请求正文与错误一起记录,再逐字段对照端点参考文档。在几乎所有情况下,查看不到 1 分钟就能发现差异。
常见错误
- 重试。请求具有确定性,每次都会以相同方式失败。
- 以为问题出在号码上。这个错误从不表示连接有问题。
- 把它当作通用失败。它明确指向参数问题,缺少参数和数值超出范围分别有更具体的错误代码 131008 和 131009。
使用 EasyCoexistence 完成这些操作
EasyCoexistence 通过控制台和 MCP 连接器提供所需的凭据及号码 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,而不是几个月。应用会继续在手机上运行。
开始免费试用验证时间