Reported by @solar ledge
Bug Report: Conversations API — Error while downloading {url}
`Steps to Reproduce`
- Create a conversation using the Conversation API
- Try to upload an image as an item.
Payload example:
{
"items": [
{
"content": [
{
"type": "input_text",
"text": "what's in this image?"
},
{
"type": "input_image",
"image_url": "..."
}
],
"role": "user"
}
]
}
`Expected Result`
API Returns success and the message is added to the Conversation.
`Actual Result`
An error is thrown with the following description:
{
"error": {
"message": "Error while downloading https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg.",
"type": "invalid_request_error",
"param": "url",
"code": "invalid_value"
}
}
`Environment`
API & JavaScipt SDK 6.7.0