Retrieving 404 resource not found when creating a conversation in the Microsoft Bot Framework

I call the create API https://api.botframework.com/v3/conversationsusing curl and get 404 Resource not found

curl -X POST --header 'Content-Type: application/json' --header 'Accept:        application/json' -d '{
  "isGroup": false,
  "bot": {
    "id": "1247256255302317",
    "name": "botname"
  },
  "members": [
    {
      "id": "969923753092546",
      "name": "Users name"
    }
  ],
  "topicName": "Test topic"
}' 'https://api.botframework.com/v3/conversations'

Im also adds an authorization header in the request. The answer I get

{ "statusCode": 404, "message": "Resource not found" }

Any idea what I'm doing wrong here?

+4
source share
2 answers

you should call: https://facebook.botframework.com , which is the service received from the message. Not with ' https://api.botframework.com '.

Note: the above serviceUrl is for facebook post. Think that in each social network there will be other serviceUrl.

+4
source

https://skype.botframework.com Skype.

0

Source: https://habr.com/ru/post/1651192/


All Articles