LUIS recognizer method stopped working (Code hasn't been changed) Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!LUIS Pre Built Entity are not recognized in the utteranceLUIS incorrectly recognizes utterancesto recognize name of person with prebuilt entities in luisLUIS not recognizing word partsTrack if LUIS intent has already been triggeredCommunication.ContactName Entity not recognized in LUIS IntentDisable / re-enable LUIS recognizer prior to entering waterfall dialogRetrieve complete LUIS DateTimeV2 entity from recognizerHow do I send chat transcript? SendConversationHistoryAsync() not workingLUIS Operation returned an invalid status code 'Unauthorized' BotFramework v4

Do any jurisdictions seriously consider reclassifying social media websites as publishers?

Should I use a zero-interest credit card for a large one-time purchase?

Is CEO the "profession" with the most psychopaths?

Converted a Scalar function to a TVF function for parallel execution-Still running in Serial mode

ArcGIS Pro Python arcpy.CreatePersonalGDB_management

What is "gratricide"?

How does light 'choose' between wave and particle behaviour?

Why is the AVR GCC compiler using a full `CALL` even though I have set the `-mshort-calls` flag?

Find 108 by using 3,4,6

Is there hard evidence that the grant peer review system performs significantly better than random?

Disembodied hand growing fangs

Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?

Most bit efficient text communication method?

How does the math work when buying airline miles?

Effects on objects due to a brief relocation of massive amounts of mass

When a candle burns, why does the top of wick glow if bottom of flame is hottest?

Is a ledger board required if the side of my house is wood?

How could we fake a moon landing now?

Selecting user stories during sprint planning

SF book about people trapped in a series of worlds they imagine

How to write this math term? with cases it isn't working

I am having problem understanding the behavior of below code in JavaScript

Is it fair for a professor to grade us on the possession of past papers?

What's the meaning of "fortified infraction restraint"?



LUIS recognizer method stopped working (Code hasn't been changed)



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!LUIS Pre Built Entity are not recognized in the utteranceLUIS incorrectly recognizes utterancesto recognize name of person with prebuilt entities in luisLUIS not recognizing word partsTrack if LUIS intent has already been triggeredCommunication.ContactName Entity not recognized in LUIS IntentDisable / re-enable LUIS recognizer prior to entering waterfall dialogRetrieve complete LUIS DateTimeV2 entity from recognizerHow do I send chat transcript? SendConversationHistoryAsync() not workingLUIS Operation returned an invalid status code 'Unauthorized' BotFramework v4



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I didn't change any of my code and the method throws an LUIS.Runtime.Models.APIErrorException



_services.LuisServices[LuisConfiguration].RecognizeAsync(turnContext, cancellationToken);


I tried to use a different LUIS model and an old version of my bot that definately worked. It seems like something was changed in the BotBuilder and I can't figure out what. This is the stacktrace:



 Exception caught : Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Models.APIErrorException: Operation returned an invalid status code 'Forbidden'
at Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Prediction.ResolveWithHttpMessagesAsync(String appId, String query,
Nullable`1 timezoneOffset, Nullable`1 verbose,
Nullable`1 staging, Nullable`1 spellCheck, String bingSpellCheckSubscriptionKey,
Nullable`1 log, Dictionary`2 customHeaders, CancellationToken cancellationToken)
at Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.PredictionExtensions.ResolveAsync(IPrediction operations, String appId, String query,
Nullable`1 timezoneOffset, Nullable`1 verbose,
Nullable`1 staging,
Nullable`1 spellCheck,
String bingSpellCheckSubscriptionKey, Nullable`1 log, CancellationToken cancellationToken)
at Microsoft.Bot.Builder.AI.Luis.LuisRecognizer
.RecognizeInternalAsync(ITurnContext turnContext, CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.Builder.AI.LUIS
LuisRecognizer.cs:line 421
at Microsoft.Bot.Builder.AI.Luis.LuisRecognizer
.RecognizeAsync(ITurnContext turnContext, CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.Builder.AI.LUIS
LuisRecognizer.cs:line 112
at NLPMortBot.BasicBot.OnTurnAsync(ITurnContext turnContext, CancellationToken cancellationToken) in nlpmortbotNLPMortBotBasicBot.cs:line 121
at Microsoft.Bot.Builder.MiddlewareSet.ReceiveActivityWithStatusAsync(ITurnContext turnContext, BotCallbackHandler callback,


CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.BuilderMiddlewareSet.cs:line 55
at Microsoft.Bot.Builder.BotAdapter.RunPipelineAsync(ITurnContext turnContext, BotCallbackHandler callback,
CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.BuilderBotAdapter.cs:line 167



Thanks in advance guys !










share|improve this question



















  • 2





    Are you using the starter key? (the starter key has a low limit) or have you setup a subscription key? docs.microsoft.com/en-us/azure/cognitive-services/luis/…

    – Eric Dahlvang
    Mar 8 at 21:38











  • Hi. Thank you for your help. It worked. I found it strange as I created a new LUIS model using a different account and it didn't work.

    – sala96
    Mar 9 at 11:41






  • 1





    Could you please edit your question and make the exception more readable and eventually add your findings as your own reply?

    – Ferdinand Fejskid
    Mar 11 at 9:15

















1















I didn't change any of my code and the method throws an LUIS.Runtime.Models.APIErrorException



_services.LuisServices[LuisConfiguration].RecognizeAsync(turnContext, cancellationToken);


I tried to use a different LUIS model and an old version of my bot that definately worked. It seems like something was changed in the BotBuilder and I can't figure out what. This is the stacktrace:



 Exception caught : Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Models.APIErrorException: Operation returned an invalid status code 'Forbidden'
at Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Prediction.ResolveWithHttpMessagesAsync(String appId, String query,
Nullable`1 timezoneOffset, Nullable`1 verbose,
Nullable`1 staging, Nullable`1 spellCheck, String bingSpellCheckSubscriptionKey,
Nullable`1 log, Dictionary`2 customHeaders, CancellationToken cancellationToken)
at Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.PredictionExtensions.ResolveAsync(IPrediction operations, String appId, String query,
Nullable`1 timezoneOffset, Nullable`1 verbose,
Nullable`1 staging,
Nullable`1 spellCheck,
String bingSpellCheckSubscriptionKey, Nullable`1 log, CancellationToken cancellationToken)
at Microsoft.Bot.Builder.AI.Luis.LuisRecognizer
.RecognizeInternalAsync(ITurnContext turnContext, CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.Builder.AI.LUIS
LuisRecognizer.cs:line 421
at Microsoft.Bot.Builder.AI.Luis.LuisRecognizer
.RecognizeAsync(ITurnContext turnContext, CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.Builder.AI.LUIS
LuisRecognizer.cs:line 112
at NLPMortBot.BasicBot.OnTurnAsync(ITurnContext turnContext, CancellationToken cancellationToken) in nlpmortbotNLPMortBotBasicBot.cs:line 121
at Microsoft.Bot.Builder.MiddlewareSet.ReceiveActivityWithStatusAsync(ITurnContext turnContext, BotCallbackHandler callback,


CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.BuilderMiddlewareSet.cs:line 55
at Microsoft.Bot.Builder.BotAdapter.RunPipelineAsync(ITurnContext turnContext, BotCallbackHandler callback,
CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.BuilderBotAdapter.cs:line 167



Thanks in advance guys !










share|improve this question



















  • 2





    Are you using the starter key? (the starter key has a low limit) or have you setup a subscription key? docs.microsoft.com/en-us/azure/cognitive-services/luis/…

    – Eric Dahlvang
    Mar 8 at 21:38











  • Hi. Thank you for your help. It worked. I found it strange as I created a new LUIS model using a different account and it didn't work.

    – sala96
    Mar 9 at 11:41






  • 1





    Could you please edit your question and make the exception more readable and eventually add your findings as your own reply?

    – Ferdinand Fejskid
    Mar 11 at 9:15













1












1








1








I didn't change any of my code and the method throws an LUIS.Runtime.Models.APIErrorException



_services.LuisServices[LuisConfiguration].RecognizeAsync(turnContext, cancellationToken);


I tried to use a different LUIS model and an old version of my bot that definately worked. It seems like something was changed in the BotBuilder and I can't figure out what. This is the stacktrace:



 Exception caught : Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Models.APIErrorException: Operation returned an invalid status code 'Forbidden'
at Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Prediction.ResolveWithHttpMessagesAsync(String appId, String query,
Nullable`1 timezoneOffset, Nullable`1 verbose,
Nullable`1 staging, Nullable`1 spellCheck, String bingSpellCheckSubscriptionKey,
Nullable`1 log, Dictionary`2 customHeaders, CancellationToken cancellationToken)
at Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.PredictionExtensions.ResolveAsync(IPrediction operations, String appId, String query,
Nullable`1 timezoneOffset, Nullable`1 verbose,
Nullable`1 staging,
Nullable`1 spellCheck,
String bingSpellCheckSubscriptionKey, Nullable`1 log, CancellationToken cancellationToken)
at Microsoft.Bot.Builder.AI.Luis.LuisRecognizer
.RecognizeInternalAsync(ITurnContext turnContext, CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.Builder.AI.LUIS
LuisRecognizer.cs:line 421
at Microsoft.Bot.Builder.AI.Luis.LuisRecognizer
.RecognizeAsync(ITurnContext turnContext, CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.Builder.AI.LUIS
LuisRecognizer.cs:line 112
at NLPMortBot.BasicBot.OnTurnAsync(ITurnContext turnContext, CancellationToken cancellationToken) in nlpmortbotNLPMortBotBasicBot.cs:line 121
at Microsoft.Bot.Builder.MiddlewareSet.ReceiveActivityWithStatusAsync(ITurnContext turnContext, BotCallbackHandler callback,


CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.BuilderMiddlewareSet.cs:line 55
at Microsoft.Bot.Builder.BotAdapter.RunPipelineAsync(ITurnContext turnContext, BotCallbackHandler callback,
CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.BuilderBotAdapter.cs:line 167



Thanks in advance guys !










share|improve this question
















I didn't change any of my code and the method throws an LUIS.Runtime.Models.APIErrorException



_services.LuisServices[LuisConfiguration].RecognizeAsync(turnContext, cancellationToken);


I tried to use a different LUIS model and an old version of my bot that definately worked. It seems like something was changed in the BotBuilder and I can't figure out what. This is the stacktrace:



 Exception caught : Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Models.APIErrorException: Operation returned an invalid status code 'Forbidden'
at Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Prediction.ResolveWithHttpMessagesAsync(String appId, String query,
Nullable`1 timezoneOffset, Nullable`1 verbose,
Nullable`1 staging, Nullable`1 spellCheck, String bingSpellCheckSubscriptionKey,
Nullable`1 log, Dictionary`2 customHeaders, CancellationToken cancellationToken)
at Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.PredictionExtensions.ResolveAsync(IPrediction operations, String appId, String query,
Nullable`1 timezoneOffset, Nullable`1 verbose,
Nullable`1 staging,
Nullable`1 spellCheck,
String bingSpellCheckSubscriptionKey, Nullable`1 log, CancellationToken cancellationToken)
at Microsoft.Bot.Builder.AI.Luis.LuisRecognizer
.RecognizeInternalAsync(ITurnContext turnContext, CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.Builder.AI.LUIS
LuisRecognizer.cs:line 421
at Microsoft.Bot.Builder.AI.Luis.LuisRecognizer
.RecognizeAsync(ITurnContext turnContext, CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.Builder.AI.LUIS
LuisRecognizer.cs:line 112
at NLPMortBot.BasicBot.OnTurnAsync(ITurnContext turnContext, CancellationToken cancellationToken) in nlpmortbotNLPMortBotBasicBot.cs:line 121
at Microsoft.Bot.Builder.MiddlewareSet.ReceiveActivityWithStatusAsync(ITurnContext turnContext, BotCallbackHandler callback,


CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.BuilderMiddlewareSet.cs:line 55
at Microsoft.Bot.Builder.BotAdapter.RunPipelineAsync(ITurnContext turnContext, BotCallbackHandler callback,
CancellationToken cancellationToken) in D:a1slibrariesMicrosoft.Bot.BuilderBotAdapter.cs:line 167



Thanks in advance guys !







c# .net botframework luis






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 13 at 20:39







sala96

















asked Mar 8 at 20:42









sala96sala96

83




83







  • 2





    Are you using the starter key? (the starter key has a low limit) or have you setup a subscription key? docs.microsoft.com/en-us/azure/cognitive-services/luis/…

    – Eric Dahlvang
    Mar 8 at 21:38











  • Hi. Thank you for your help. It worked. I found it strange as I created a new LUIS model using a different account and it didn't work.

    – sala96
    Mar 9 at 11:41






  • 1





    Could you please edit your question and make the exception more readable and eventually add your findings as your own reply?

    – Ferdinand Fejskid
    Mar 11 at 9:15












  • 2





    Are you using the starter key? (the starter key has a low limit) or have you setup a subscription key? docs.microsoft.com/en-us/azure/cognitive-services/luis/…

    – Eric Dahlvang
    Mar 8 at 21:38











  • Hi. Thank you for your help. It worked. I found it strange as I created a new LUIS model using a different account and it didn't work.

    – sala96
    Mar 9 at 11:41






  • 1





    Could you please edit your question and make the exception more readable and eventually add your findings as your own reply?

    – Ferdinand Fejskid
    Mar 11 at 9:15







2




2





Are you using the starter key? (the starter key has a low limit) or have you setup a subscription key? docs.microsoft.com/en-us/azure/cognitive-services/luis/…

– Eric Dahlvang
Mar 8 at 21:38





Are you using the starter key? (the starter key has a low limit) or have you setup a subscription key? docs.microsoft.com/en-us/azure/cognitive-services/luis/…

– Eric Dahlvang
Mar 8 at 21:38













Hi. Thank you for your help. It worked. I found it strange as I created a new LUIS model using a different account and it didn't work.

– sala96
Mar 9 at 11:41





Hi. Thank you for your help. It worked. I found it strange as I created a new LUIS model using a different account and it didn't work.

– sala96
Mar 9 at 11:41




1




1





Could you please edit your question and make the exception more readable and eventually add your findings as your own reply?

– Ferdinand Fejskid
Mar 11 at 9:15





Could you please edit your question and make the exception more readable and eventually add your findings as your own reply?

– Ferdinand Fejskid
Mar 11 at 9:15












1 Answer
1






active

oldest

votes


















0














This can happen if you are using the Starter Key instead of an actual Subscription Key from an 'endpoint runtime resource in Azure'. More information can be found here: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-how-to-azure-subscription



After creating the LUIS Azure Resource Key, it can be assigned within the LUIS Portal:



enter image description here



More information can be found here: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/get-started-portal-deploy-app#assign-the-resource-key-to-the-luis-app-in-the-luis-portal






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55070705%2fluis-recognizer-method-stopped-working-code-hasnt-been-changed%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    This can happen if you are using the Starter Key instead of an actual Subscription Key from an 'endpoint runtime resource in Azure'. More information can be found here: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-how-to-azure-subscription



    After creating the LUIS Azure Resource Key, it can be assigned within the LUIS Portal:



    enter image description here



    More information can be found here: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/get-started-portal-deploy-app#assign-the-resource-key-to-the-luis-app-in-the-luis-portal






    share|improve this answer



























      0














      This can happen if you are using the Starter Key instead of an actual Subscription Key from an 'endpoint runtime resource in Azure'. More information can be found here: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-how-to-azure-subscription



      After creating the LUIS Azure Resource Key, it can be assigned within the LUIS Portal:



      enter image description here



      More information can be found here: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/get-started-portal-deploy-app#assign-the-resource-key-to-the-luis-app-in-the-luis-portal






      share|improve this answer

























        0












        0








        0







        This can happen if you are using the Starter Key instead of an actual Subscription Key from an 'endpoint runtime resource in Azure'. More information can be found here: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-how-to-azure-subscription



        After creating the LUIS Azure Resource Key, it can be assigned within the LUIS Portal:



        enter image description here



        More information can be found here: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/get-started-portal-deploy-app#assign-the-resource-key-to-the-luis-app-in-the-luis-portal






        share|improve this answer













        This can happen if you are using the Starter Key instead of an actual Subscription Key from an 'endpoint runtime resource in Azure'. More information can be found here: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/luis-how-to-azure-subscription



        After creating the LUIS Azure Resource Key, it can be assigned within the LUIS Portal:



        enter image description here



        More information can be found here: https://docs.microsoft.com/en-us/azure/cognitive-services/luis/get-started-portal-deploy-app#assign-the-resource-key-to-the-luis-app-in-the-luis-portal







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 12 at 19:59









        Eric DahlvangEric Dahlvang

        6,87242244




        6,87242244





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55070705%2fluis-recognizer-method-stopped-working-code-hasnt-been-changed%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            1928 у кіно

            Захаров Федір Захарович

            Ель Греко