BotBuilder-Samples: Bot Authentication error

While running the Bot Authentication I am getting following error

In env file I have given all the details , still I am getting the error.

BotFrameworkAdapter.processActivity(): 401 ERROR - Error: Unauthorized Access. Request is not authorized 
(node:16916) UnhandledPromiseRejectionWarning: Error: Error: Unauthorized Access. Request is not authorized
    at BotFrameworkAdapter.processActivity (D:\POC\chatbot\18.bot-authentication\node_modules\botbuilder\lib\botFrameworkAdapter.js:511:19)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:16916) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 18

Most upvoted comments

@dmvtech I am using #46 teams-auth sample. After clicking on confirm I am not getting any further popup or any kind of message, but if I deploy the same code in azure then it works there.

Because of this locally I am not able to test the code. Please help me out from this issue.