我正在向Facebook bot API发送类似于以下内容的有效负载:
{
"recipient":{
"id":"some-recipient-id"
},
"message":{
"attachment":{
"type":"template",
"payload":{
"template_type":"generic",
"elements":[ ... ]
}
},
"quick_replies":[ ... ]
}
}
完全相同的有效负载有时会成功,有时会向我抛出这样的错误:
HTTP 400:
{
"message":"(#-1) Unexpected internal error",
"type":"OAuthException",
"code":-1,
"error_subcode":2018012,
"fbtrace_id":"some-trace-id"
}
这与以下内容有关吗? https://developers.facebook.com/status/issues/559896447845433/