Missing token or secret
See original GitHub issueHi, I’m not sure whether this is a directline issue or webchat but i’m getting the following error
{
"error": {
"code": "BadArgument",
"message": "Missing token or secret"
}
}
even after i’m providing the correct secret (that i’ve verified from azure)
I’m using master/webchat-es5.js (dated 24-Apr-2019)
To give more context to how i’m using is I’m running the bot in my local using ngrok and setting the url to bot channel registration i did on azure using the secret from the bot channel registration i’m building the webchat
in ngrok i’m getting following error (OPTIONS /api/messages 405 Method Not Allowed)
Here is the screenshot of all the action.type i’m getting back from webchat
But after some time (if I leave it for 10mins ) it starts working, it is happening every time
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Azure Bot Service Direct Line API v3.0 constantly throwing ...
I have several activity records for activities created through this API. But now I am getting this error message constantly on even getting ......
Read more >There was an error sending this message to your bot: HTTP ...
Hi. I have created a bot using azure bot service. But I am getting this error in when I test it. There was...
Read more >Resolve API Gateway REST API 403 “Missing Authentication ...
When I try to invoke my Amazon API Gateway REST API, I get 403 "Missing Authentication Token" error messages. How do I troubleshoot...
Read more >Secret token not generating - Discuss Kubernetes
Your pods have nothing to do with your secrets in this case. You created a service account and the API creates a token...
Read more >Cannot remove account when token is missing in secret storage
[error]: Account for instance https://gitlab.com and user me is missing token in secret storage. Try to remove the account and add it again....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The caching is not new. If you were creating new bots then they would be read immediately because they’re not in the cache. But existing bot records have been cached for as long as I know.
It looks like you are correct. You have to change the bots messaging endpoint while the bot is not running otherwise it will not update correctly. Thank you for your help in diagnosing this issue.