-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Labels
questionFurther information is requestedFurther information is requestedsdkA bug related to the implementation core SDK features, such as Marshalling, Unmarshalling.A bug related to the implementation core SDK features, such as Marshalling, Unmarshalling.
Description
When using the openai-go SDK to send a chat request with two public image URLs in the same input, the API returns an error stating that the image data is invalid, even though both images are valid and publicly accessible.
Error:
{ "error": "Chat: Failed to process OpenAI Response request: POST \"https://api.openai.com/v1/responses\": 400 Bad Request {\n \"message\": \"The image data you provided does not represent a valid image. Please check your input and try again with one of the supported image formats: ['image/jpeg', 'image/png', 'image/gif', 'image/webp'].\",\n \"type\": \"invalid_request_error\",\n \"param\": \"input\",\n \"code\": \"invalid_value\"\n }" }
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requestedsdkA bug related to the implementation core SDK features, such as Marshalling, Unmarshalling.A bug related to the implementation core SDK features, such as Marshalling, Unmarshalling.