botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[Direct Line] Bad Request Error?

Open 10p30pl3 opened this issue 9 years ago • 2 comments

Bot Info

  • App ID: ee650974-07e9-4fd5-9bf7-049fe02918e1
  • SDK Platform: Node.js
  • Active Channels: Direct Line

Issue Description

My bot is getting error :

Error: Request to 'https://state.botframework.com/v3/botstate/directline/users/dlxxx1' failed: [400] Bad Request

Any problem on Directline interface?

Reproduction Steps

1.Connect to bot saying hello 2.No response back from directline 3.error 400

Expected Behavior

Bot normal conversation

Actual Results

No responses from bot

10p30pl3 avatar Oct 30 '17 12:10 10p30pl3

Problem was solved by resetting session.userdata. Any idea about relationship of session.userdata and directline?

10p30pl3 avatar Oct 30 '17 12:10 10p30pl3

@10p30pl3 thanks for the update. I'm happy to hear your issue was resolved by resetting `session.userData'.

Bot Framework is in Preview state & Direct Line is under active development.

nwhitmont avatar Oct 30 '17 18:10 nwhitmont