Hi colleagues,
I have 2 questions for which I need an answer ASAP please.
- I need to do a simple script to extract the conversation logs (so using the Bot Builder and Bot Connector APIs which are protected by an Authorization header) from a local HTML file. Most of the time all the requests pass and I get a response, but sometimes they fail due to CORS.
Can you please let me know what the CORS policy is for the CAI APIs? Is it possible that I call them locally?
- I keep getting a status code 429 on the Conversation States API (nr 1 below) when calling from a NodeJS app. I am doing 41 requests on this route in total.
Could you please let me know what is the request limit and/or the Retry After parameter?
[UPDATE] Some of the requests return 429, others 500. From Postman any call to the Conversation States API returns 504GATEWAY_TIMEOUT. Is there something wrong to this API?
Thank you!!
I am interested in the following routes:
- /build/v1/users/${USER_SLUG}/bots/${BOT_SLUG}/versions/${BOT_VERSION}/builder/conversation_states/${conversationID}
- /connect/v1/conversations/${conversationID}
- /connect/v1/conversations/