openai.BadRequestError: Error code: 400 - Timeout while downloading

This error has been occurring since 2025.03.13 23:00:00. My code and environment have not changed.

openai.BadRequestError: Error code: 400 - {‘error’: {‘message’: ‘Timeout while downloading …’, ‘type’: ‘invalid_request_error’, ‘param’: None, ‘code’: ‘invalid_image_url’}}

Welcome to the community!

This seems to be an ongoing intermittent issue at the moment.

Here’s another thread dealing with this:

Here’s another user dealing with this:

When dealing with vision, I would generally recommend uploading images with b64 encoding instead of a link, to prevent possible network issues such as this.

1 Like