-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
OpenAIbugThis issue requires a change to an existing behavior in the product in order to be resolved.This 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.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK team
Description
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?
christian-becker-ta, Grogdunn, tsachis, brenwhyte and rishabhpoddar
Metadata
Metadata
Assignees
Labels
OpenAIbugThis issue requires a change to an existing behavior in the product in order to be resolved.This 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.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK team