How to fix upload file error at Azure AI Studio at Chat PlayGround?

Peter 0 Reputation points
2024-09-27T05:28:45.66+00:00

I wish to upload my pdf file and use AI chat to search data and find answer from that pdf file. However, I am not able to upload that file and countered below error. That pdf is just a common document pdf file in traditional Chinese language (file size: 957KB). Please advise what I can do to fix it up. Thanks.

error I encountered:

We couldn't upload your data RestError: Failed to send request to https://biblestudymaterials.blob.core.windows.net/fileupload-bibleindex?sv=2015-04-05&ss=bf&srt=sco&sp=lrw&se=2024-09-27T06%3A18%3A10.0190000Z&spr=https&sig=yjWo823fc0iCQMt9%2FOnuhrneJSDapgbCOFvz8FlXzMU%3D&restype=container&_=1727414290553

Screenshot 2024-09-27 at 1.19.55 PM

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,024 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 45,721 Reputation points Microsoft Employee
    2024-09-27T08:12:13.1266667+00:00

    @Peter Is CORS turned on for your storage account? If not try to add a CORS setting for your storage account. You can do this for Blob and File service tabs for all origins and methods.

    User's image

    Even if you have turned on CORS from the Azure OpenAI upload data screen, cross verify if it has actually add this entry in your storage account CORS settings.

    After adding the above, wait for few minutes, login to your studio from a different browser or after clearing cache on your browser and retry the upload.

    I hope this helps!! Thanks!!

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.
    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.