Skip to content

[BUG] azure-ai-openai - The quota for files without expiry is reachedΒ #47401

@benkeil

Description

@benkeil
val fileDetails = FileDetails(BinaryData.fromFile(batchFile), batchFile.fileName.toString())
val openaiFile = azureOpenAIClient.uploadFile(fileDetails, FilePurpose.BATCH)
com.azure.core.exception.HttpResponseException: Status code 400, "{
  "error": {
    "code": "quotaExceeded",
    "message": "The quota for files without expiry is reached. The maximum is 500."
  }
}

Looks like a preview version of the upload file API has an expiry property, but the current not (https://learn.microsoft.com/en-us/rest/api/azureopenai/files/upload?view=rest-azureopenai-2024-10-21&tabs=HTTP). Were there any changes to the API?

Metadata

Metadata

Assignees

Labels

OpenAIbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions