last day (16 days later) » 

10:12 PM
1
Q: Operation returned an invalid status code 'Forbidden`. Botframework v4

user10860402So i created a bot in azure and downloaded it. The free 1000 calls from LUIS reached its limit. I created a subscription in azure portal (I did do the docker container something). Followed this guide until step 6. When i click the endpoint url and query directly in the browser it is working fine....

 
Thank you for your response. I updated the question with the botservice of luis application.
 
Can you verify something? Remove those luis entries from your bot file. Add a new one, ensuring that you use the endpoint keys beginning with 12ccc or b575. Do not use the authoring key beginning with ad9c at all. Do you still get the 403 error?
 
@mdrichardson The emulator add those keys automatically. Then i changed them directly in the bot file, is it okay? And yes sir i am still getting the forbidden error when i changed the subscription keys to one of the keys. Is it relevant that i have not published this bot yet in azure? Because this is new i refactored the codes. But this' bots previous version is published in azure.
I think its also worth mentioning that i created a new luis.ai account with free starter key and no subscription key and it worked with no problem.
Pics updated with the changed keys
 
I forgot that you're adding the LUIS endpoint via Emulator, which doesn't ask you what key you want to use. If those pics are accurate, you need to update the keys in your .bot file. In the LUIS entries, it's using your authoringKey (ad9c...), when it should be using one of your endpointKeys (12ccc... or b575...). Replace those in your .bot file and let me know how it goes.
:) You edited your comment while I was typing up a comment. Publishing to Azure should only matter if you're using the "production" endpoint in Emulator and not "development". New account would give you a new starter key, so you'd refresh your key use limits.
Ah! I see the problem with your new update!
...let me post the answer.
 
Thank you sir for helping. I already replace them and tested them with both keys (see new updated pics). still the same.
I will travel to work now for about 2 hours sir. I will reply when i get to work. Thank you!
 
10:30 PM
No problem. I may not be back when you return, but I'm relatively certain my answer will solve your problem.
 

  last day (16 days later) »