Facebook Messenger-广播API-(#-1)意外的内部错误

时间:2019-03-26 08:19:02

标签: facebook facebook-messenger facebook-messenger-bot facebook-chatbot

过去几个小时,我面临着这个问题。我已按照以下要求创建了新标签

Method: POST
URL: https://graph.facebook.com/v2.11/me/custom_labels?access_token=<ACCESS_TOKEN>
Payload: {
  "name": "testing-2"
}

成功创建后,得到的标签ID为

{
    "id": "2310623892330135"
}

然后我将用户页面范围ID与标签ID关联如下请求

Method: POST
Url: https://graph.facebook.com/v2.11/<LABEL-ID>/label?access_token=<ACCESS_TOKEN>
Payload: {
  "user": "2378210095523286"
}

成功响应是

{     “成功”:是 }

然后我如下创建广播消息

Method: POST
URL: https://graph.facebook.com/v2.11/me/message_creatives?access_token=<ACCESS_TOKEN>
Payload: {
    "messages": [
        {
            "text": "It's time for a healthy start to the day!!!!"
        }
    ]
}

成功响应为

{
    "message_creative_id": "2261779967427944"
}

然后我尝试按以下方式在广播api中发送消息

Method: POST
Url: https://graph.facebook.com/v2.11/me/broadcast_messages?access_token=<ACCESS_TOKEN>
Payload: {    
  "message_creative_id": "2261779967427944",
  "custom_label_id": "2310623892330135"
}

错误响应是

{
    "error": {
        "message": "(#-1) Unexpected internal error",
        "type": "OAuthException",
        "code": -1,
        "error_subcode": 2018012,
        "fbtrace_id": "FuSl3sJfoYk"
    }
}

任何人都可以指导我解决此问题。

我已经在Facebook错误绑定中创建了问题,如果有人遇到相同问题,请订阅此问题-https://developers.facebook.com/support/bugs/2092341407546688/

0 个答案:

没有答案