0

I'm getting error 'We couldn't upload your data This request is not authorized to perform this operation. Request ID - XXXX, Time - xxxxxx' while trying to 'Upload files' in Azure Open AI service. I want to upload a word document so the model can read it and answer questions based on it. I went to 'Add your data' in OI Studio > selected 'Upload file' > Selected 'Blob storage account' > Selected 'Azure Cognitive Search Resource' > entered the 'Index name' > uploaded but got the attached error.

Error -1:

enter image description here

Error-2 :

enter image description here

Unable to proceed with this option

Venkatesan
  • 3,748
  • 1
  • 3
  • 15

1 Answers1

0

I'm getting the error 'We couldn't upload your data This request is not authorized to perform this operation. Request ID - XXXX, Time - xxxxxx' while trying to 'Upload files' in Azure Open AI service.

The above error occurs when you don't have permission to perform the operation.

For uploading files in Azure Open AI Studio either you need Contributor role or Cognitive Services OpenAI Contributor.

You can assign it by

Portal ->subscription ->Access control(IAM) -> Add role assignments -> Add role to your resource.

enter image description here

Once, I assigned the role to the resource I can able to upload files to the Azure open AI studio.

enter image description here

Blob storage:

enter image description here

Reference:

Use your own data with Azure OpenAI service - Azure OpenAI | Microsoft Learn

Venkatesan
  • 3,748
  • 1
  • 3
  • 15