WhatsApp Cloud API:使用参数或操作按钮发送模板消息返回 #135000 一般用户错误

问题描述 投票:0回答:1

当我尝试使用参数或操作按钮发送模板消息时,突然收到来自 WhatsApp Cloud API 的 #135000 通用用户错误。当消息正文中不包含任何参数或仅包含纯文本时,消息传递得很好。

这是我在 Graph API Explorer 上发布的请求:

{
  "messaging_product": "whatsapp",
  "to": "123456789",
  "type": "template",
  "template": {
    "name": "send_notification_test",
    "language": {
      "code": "en"
    },
    "components": [
      {
        "type": "button",
        "sub_type": "url",
        "index": "0",
        "parameters": [
          {
            "type": "text",
            "text": "personalcheckout"
          }
        ]
      }
    ]
  }
}

这是我收到的错误:

{
  "error": {
    "message": "(#135000) Generic user error",
    "type": "OAuthException",
    "code": 135000,
    "error_data": {
      "messaging_product": "whatsapp",
      "details": "Generic user error"
    },
    "fbtrace_id": "ANLDBTL2g19uXVtHd38p-7i"
  }
}
json facebook-graph-api whatsapp whatsapp-cloud-api
1个回答
0
投票

您有解决方案吗?我面临同样的问题

© www.soinside.com 2019 - 2024. All rights reserved.