ServiceError with basic Direct Line interaction

90 views Asked by At

I've got a basic bot that I am trying to interact with via Direct Line. Following this example, these are what my requests look like:

Start Conversation

enter image description here

Send Activity

enter image description here

The error it responds with is difficult to investigate with such minimal information. The bot itself is working perfectly on other channels.

Has anyone seen this before?

1

There are 1 answers

0
Tyler Murry On BEST ANSWER

Apologies for answering my own question. It turns out, the Send Activity request was sent as application/text instead of application/json.

I wish the error was more clear on why it was rejecting it but that fixed my issue.