LUIS操作返回了无效的状态代码“未经授权”的BotFramework v4

时间:2019-02-04 10:28:25

标签: azure botframework luis

早上好。

我的机器人程序出现错误:操作从LUIS.ai获取结果时,操作返回了无效的状态码“未经授权”

  • “ Microsoft.Bot.Builder.AI.Luis” Version =“ 4.2.2”
  • “ Microsoft.Bot.Builder” Version =“ 4.2.2”

此问题今天出现。

我试图重新发布bot,但这没有用。

本地主机上以及通过远程调试的Azure上也存在此问题...

StackTrace:在Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.Prediction.d__5.MoveNext() ---从之前引发异常的位置开始的堆栈结束跟踪---    在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)    在Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime.PredictionExtensions.d__0.MoveNext() ---从之前引发异常的位置开始的堆栈结束跟踪---    在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)    在Microsoft.Bot.Builder.AI.Luis.LuisRecognizer.d__23.MoveNext()中的D:\ a \ 1 \ s \ libraries \ Microsoft.Bot.Builder.AI.LUIS \ LuisRecognizer.cs:行421 ---从之前引发异常的位置开始的堆栈结束跟踪---    在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)    在Microsoft.Bot.Builder.AI.Luis.LuisRecognizer.d__10.MoveNext()中的D:\ a \ 1 \ s \ libraries \ Microsoft.Bot.Builder.AI.LUIS \ LuisRecognizer.cs:行112 ---从之前引发异常的位置开始的堆栈结束跟踪---    在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)    在System.Runtime.CompilerServices.TaskAwaiter 1.GetResult() at AxactorBotApp.AxactorBot.<DetectIntentAndEntitiesAsync>d__13.MoveNext() in D:\Work\Miratech\Axactor\Axactor\Web\AppServices\AxactorBotApp\AxactorBot.cs:line 175 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter 1.GetResult()    在D:\ Work \ Miratech \ Axactor \ Axactor \ Web \ AppServices \ AxactorBotApp \ AxactorBot.cs:D 79中的AxactorBotApp.AxactorBot.d__12.MoveNext() ---从之前引发异常的位置开始的堆栈结束跟踪---    在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)    在D. \ a \ 1 \ s \ libraries \ Microsoft.Bot.Builder \ MiddlewareSet.cs:line 55中的Microsoft.Bot.Builder.MiddlewareSet.d__3.MoveNext() ---从之前引发异常的位置开始的堆栈结束跟踪---    在System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    在System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务任务)    在D. \ a \ 1 \ s \ libraries \ Microsoft.Bot.Builder \ BotAdapter.cs:line 167中的Microsoft.Bot.Builder.BotAdapter.d__13.MoveNext()

1 个答案:

答案 0 :(得分:0)

此问题已解决。我不在路易斯的配额内。

答案在这里:Luis Out of call volume quota