CORs error creating Language project

Westlee Barichak 0 Reputation points
2024-03-15T17:53:26.02+00:00

First off, just want to say I tried using the recommendations here but had no success: https://zcusa.951200.xyz/en-us/answers/questions/1457128/cannot-access-language-project-in-language-studio

From Language Studio, I'm trying to create a new Text classification project. I'm getting this error when I try to create the project through the wizard.

User's image

The console shows me that it's a CORs error on the PATCH method.

User's image

I've updated the CORs settings on the storage account to include the PATCH method. Still getting the same error though. Any suggestions?

Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
432 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Westlee Barichak 0 Reputation points
    2024-03-15T19:07:10.2266667+00:00

    I ended up having to enable CORs for all origins ( * ) to get this to work :/. Not ideal for sure! Not sure what to do otherwise though.


  2. YutongTie-MSFT 53,701 Reputation points
    2024-03-16T09:29:28.5266667+00:00

    @Westlee Barichak Thanks for reaching out to us and sharing your temporary workaround, I have forwarded this issue to product team for further investigation. I will update under this thread if I get any response.

    Regards,

    Yutong

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.