question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error occurs when publish luis

See original GitHub issue

Version

source code 7 Oct

Describe the bug

publish luis errors

To Reproduce

I create a lu file and click the ‘startbot’ button in the upper right corner, and asked to fill in the ‘athuoring key’.

Firstly, from the reference here, authoring key, goto luis setting page, I found this: image

The only key in this page is the Primary Key of Starter_key. Then I fill in this one. But error appears, Composer shows this message: 'Error publishing to LUIS.', then I goto the debug console line and get the message code:

"code":"401","message": "The apps - Get applications list Operation under LUIS Programmatic APIs v2.0 API is not supported with the current subscription key and pricing tier LUIS.F0.",

So I do not know If I should update my luis pricing tier to get the access permission.

After, I get into Azure portal to create a luis cognitive service (S0), and find that there are two resources have been created, one is the name of my luis, the other one is ‘luisname-Authoring’.

Firstly, I use the luis resource key, same as before, ‘401’ is the result. Then I try the second one, errors as before: code: 'BadArgument', message: 'Import operation has failed.' ,

and the request body is

'{"name":"empty(composer)-Main.en-us.lu","versionId":"0000000001","desc":"Model for empty app, targetting composer for Main.lu file","culture":"en-us","intents":[{"name":"greeting"}],"entities":[],"closedLists":[],"composites":[],"patternAnyEntities":[],"regex_entities":[],"prebuiltEntities":[],"regex_features":[],"model_features":[],"patterns":[],"utterances":[{"text":"hi","intent":"greeting","entities":[]},{"text":"hello","intent":"greeting","entities":[]}]}'

So, what is the right step to solve this issue. Thanks.

Expected behavior

Publish luis successfully

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
cwhittencommented, Oct 9, 2019

This is a luis service issue. No known changes needed on our end.

0reactions
VanyLawcommented, Oct 8, 2019

Hi @lei9444 , I remember you’re the author of this package, can you help to check this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot read property 'error' of undefined - Microsoft Q&A
Luis build failed: Cannot read property 'error' of undefined. Sorry, something went wrong with publishing. Try again or exit out of this task....
Read more >
LUIS Error when publishing. "publish your application first ...
This error occurs after cloning my first version "control your application versions...". If I set my cloned version as active, work on it,...
Read more >
Known issues - Microsoft Open Source
There is a known issue in the Virtual Assistant when the bot doesn't pass a Locale ... or Skill on a Mac you...
Read more >
Building Language Intelligent Apps with Microsoft's LUIS
The process of publishing a LUIS app is straightforward. Go to the “Publish” section ... Otherwise, we'd get an unauthorized error when calling...
Read more >
azure.cognitiveservices.language.luis.authoring.operations ...
_client.post(url, query_parameters, header_parameters, body_content) response = self. ... If the application name already exists, an error is returned.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found