I try to upload file to assistant API #44039
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
This issue needs attention from Azure service team or SDK team
OpenAI
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
This issue is responsible by Azure service team.
Type of issue
Typo
Description
Additional properties are not allowed ('filename' was unexpected)
Status: 400 (Bad Request)
Content:
{
"error": {
"message": "Additional properties are not allowed ('filename' was unexpected)",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
Headers:
Access-Control-Allow-Origin: REDACTED
x-ms-middleware-request-id: REDACTED
X-Content-Type-Options: REDACTED
X-Request-ID: REDACTED
apim-request-id: REDACTED
Strict-Transport-Security: REDACTED
x-ms-client-request-id: 36bd1d80-09f6-4bc1-9e01-ceb1113e3df6
x-ms-region: REDACTED
Date: Wed, 15 May 2024 07:17:12 GMT
Content-Length: 178
Content-Type: application/json
Page URL
https://learn.microsoft.com/en-us/dotnet/api/azure.ai.openai.assistants.openaifilepurpose?view=azure-dotnet-preview
Content source URL
https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/xml/Azure.AI.OpenAI.Assistants/OpenAIFilePurpose.xml
Document Version Independent Id
1fbc3c83-f4a5-3444-0150-5536301ec165
Article author
@azure-sdk
Metadata
The text was updated successfully, but these errors were encountered: