Skip to content

Conversation

@majiayu000
Copy link

Summary

  • Changed vision example image URL from 1599px to 640px version

Fixes

Closes #2776

Problem

The original image URL was too large and caused a 400 error:

openai.BadRequestError: Error code: 400 - {'error': {'message': 'Error while downloading...'}}

Solution

Changed the image URL to use a smaller 640px thumbnail version which downloads successfully.

Fixes openai#2776

The original image URL (1599px) was too large and caused a 400 error
when the API tried to download it. Changed to a smaller 640px version
which works correctly.
@majiayu000 majiayu000 requested a review from a team as a code owner December 17, 2025 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vision example throws an error

1 participant