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

[Skype channel] Error in bot

Open javierdac opened this issue 9 years ago • 6 comments

Every time i try to use my bot i get:

Error: Request to 'https://smba.trafficmanager.net/apis/v3/conversations/29%3A1z3MLJJ-lTcKInIvodYDgQOJR9B-11L59wplYaQfNC9A/activities' failed: [400] Bad Request at Request._callback (/home/bot/webserver/node_modules/botbuilder/lib/bots/ChatConnector.js:452:46) at Request.self.callback (/home/bot/webserver/node_modules/request/request.js:187:22) at emitTwo (events.js:106:13) at Request.emit (events.js:191:7) at Request. (/home/bot/webserver/node_modules/request/request.js:1044:10) at emitOne (events.js:96:13) at Request.emit (events.js:188:7) at IncomingMessage. (/home/bot/webserver/node_modules/request/request.js:965:12) at emitNone (events.js:91:20) at IncomingMessage.emit (events.js:185:7) at endReadableNT (_stream_readable.js:974:12) at _combinedTickCallback (internal/process/next_tick.js:74:11) at process._tickDomainCallback (internal/process/next_tick.js:122:9)

javierdac avatar Apr 10 '17 19:04 javierdac

@javierdac can you provide additional details about your issue?

Environment

  • Operating System:
    • Windows
    • macOS
    • Linux
  • SDK Platform:
    • C#/.NET
    • Node.js
  • SDK version:
  • Development environment:
    • localhost
    • Azure Web App
    • Azure Bot Service App
    • other
  • If you are using the Node.js SDK:
    • Node.js version:
    • NPM version:

Issue

What the issue is, in broad strokes. Link to Stack Overflow post.

Example Code

The code snippet or complete bot example (preferred) that demonstrates the issue.

Steps to Reproduce

Please provide the shortest amount of steps to reproduce your issue.

Expected Behavior

What you expected to happen.

Actual Results

What actually happened. Please give examples and support it with screenshots, copied output or error messages.

nwhitmont avatar Apr 10 '17 19:04 nwhitmont

@javierdac when I tested your API URL just now I got the following error:

{
  "message": "The requested resource does not support http method 'GET'."
}

Perhaps you are doing a GET when you need to do POST instead?

nwhitmont avatar Apr 10 '17 19:04 nwhitmont

The same bot is working perfect local and also in Facebook but i having this issue on skype

javierdac avatar Apr 10 '17 20:04 javierdac

This is because your attachments or cards is not correct in skype.

rahul251993 avatar Apr 12 '17 08:04 rahul251993

@javierdac can you provide a code example that reproduces the Skype error?

nwhitmont avatar Apr 27 '17 18:04 nwhitmont

@javierdac reopen if you're still having issues

nwhitmont avatar Apr 28 '17 23:04 nwhitmont