79456464

Date: 2025-02-21 06:10:56
Score: 1
Natty:
Report link

When test in Web Chat, it doesn't include an authorization header in the request to the bot. However, the downloaded project contains below logic, that returns Unauthorized response in this case. You can remove this logic in order to test in Web Chat.

if (!req.headers.authorization && process.env.RUNNING_ON_AZURE === '1') {
    return res.send(401, 'unauthorized');
}
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: blackchoey