'"Site Missing" error when invoking Direct Line API to generate a token
When I invoke the Direct Line API(using Postman) to generate a token based on a secret, I am getting an error that says "code": "BadArgument", "message": "Site Missing". I am sending a POST request with the Authorization set to "Bearer Token".
Solution 1:[1]
Had the same problem - make sure you're not using the App Service Extension Keys that show up front and center when you open the DirectLine configuration. You have to click on the site (either Default Site or whatever site you've made) and then use one of the secret keys from there. They switched the positioning of these around from the previous UI, so these can be easily confused.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Kristaps Baumanis |
