Facebook messenger bot error nonexisting field (messages)

青春壹個敷衍的年華 提交于 2019-12-22 14:38:08

问题


I am a new member.

I have an error when send message using HTTP Post to "graph.facebook.com/v2.11/me/messages?access_token=MY_PAGE_TOKEN"

This is error return:

`{"error":{"message":"(#100) Tried accessing nonexisting field (messages) on node type (Page)","type":"OAuthException","code":100,"fbtrace_id":"EB39Xkxnf6O"}}`

Despite error, tester and developer still able to receive message. But the FB viewer might not and they not approve my review submission: "We did not receive an automated response when we messaged your Page. Bots should respond to all input from the user within 30 seconds so that the experience feels like a continuous conversation. Please ensure that your experience is functional before you resubmit."

The log show same error with FB viewer when server trying to response.

Any help. Thanks a lot


回答1:


As the documentation explains you are required to submit a {conversation-id} before the messages.

More info here



来源:https://stackoverflow.com/questions/48051930/facebook-messenger-bot-error-nonexisting-field-messages

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!