{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/201","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/201/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/201/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/201","id":152005522,"number":201,"title":"Embedded web chat control using token failing","user":{"login":"genereddick","id":1033793,"avatar_url":"https://avatars.githubusercontent.com/u/1033793?v=3","gravatar_id":"","url":"https://api.github.com/users/genereddick","html_url":"https://github.com/genereddick","followers_url":"https://api.github.com/users/genereddick/followers","following_url":"https://api.github.com/users/genereddick/following{/other_user}","gists_url":"https://api.github.com/users/genereddick/gists{/gist_id}","starred_url":"https://api.github.com/users/genereddick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genereddick/subscriptions","organizations_url":"https://api.github.com/users/genereddick/orgs","repos_url":"https://api.github.com/users/genereddick/repos","events_url":"https://api.github.com/users/genereddick/events{/privacy}","received_events_url":"https://api.github.com/users/genereddick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-30T03:51:24Z","updated_at":"2016-04-30T03:51:24Z","closed_at":null,"body":"When using the embedded web chat control, using the token process (swapping the secret for a token), the web chat control is failing at various stages. The web chat control is instantiated as expected -- in that, if the token is missing, or not the correct token from the API call, the chat window does not display. \r\n\r\nHowever, the control throws various errors, If I do not debug, or step through quickly, the initial error is a 500, message: \"The requested resource does not support http method 'GET'.\"\r\n\r\nhttps://webchat.botframework.com/api/conversations\r\n\r\nIf I debug and step through slowly, the first error is a 403, missing token or secret.\r\n\r\nhttps://webchat.botframework.com/api/conversations/null/messages \r\n\r\nIn the debugger I can step through and see the conversastionId getting set, but it is missing in the call above.\r\n\r\nAfter that, it continues to poll the url, this time with a conversationId, but still returns a 403, missing token or secret.\r\n\r\nhttps://webchat.botframework.com/api/conversations/JLwZUHmHHEy/messages\r\n\r\nThe embedded web chat using the secret works as expected."}}