Search code examples
azure-cognitive-servicesazure-language-understanding

LUIS API call "example utterances - Review labeled examples" returns 404 but 401 when called via the API test console


I'm trying to get "example utterances - Review labeled example" from the LUIS api. As explained here: https://westeurope.dev.cognitive.microsoft.com/docs/services/5890b47c39e2bb17b84a55ff/operations/5890b47c39e2bb052c5b9c0a

But this call returns a "404 - Resource not found"

https://westeurope.api.cognitive.microsoft.com/luis/v2.0/apps/[appid]/versions/0.1/examples?skip=0&take=100

When I try the same call via the testing console...

https://westeurope.dev.cognitive.microsoft.com/docs/services/5890b47c39e2bb17b84a55ff/operations/5890b47c39e2bb052c5b9c0a/console

... it returns "401 - Access Denied" with the message

The example utterances - Review labeled examples Operation under LUIS Programmatic APIs v2.0 API is not supported with the current subscription key and pricing tier LUIS.S0."

I've been at it for over a day, trying to create/update/delete autoring resources from Azure. Selected different pricing tiers, but I'm ending up with the same results.

I even tried deleting my LUIS account in an effort to restart from scratch but also that seems impossible. I keep logging back in to my "deleted" account.

Some help will be greatly appreciated.


Solution

  • If you want to use LUIS service in westeurope , pls try the steps below :

    1. Go to Azure portal and create an LUIS service : enter image description here

    After this task completed , you will see two services : enter image description here . The first one is service related and the second one which end with "-Authoring" is used for management . Lick the second one => keys , copy either of two keys and we will use it later .

    1. Go to LUIS Europe portal select your LUIS Authoring service which just created as Authoring Resource so that we can use this endpoint to manage your LUIS service. enter image description here

    Create a new app for test APIs : enter image description here

    After this app created , we can test APIs you need, you can find app id and version here: enter image description here

    Try the API :

    enter image description here

    Hope it helps .