GPT-4 Vision API Internal server error (Something wrong processing one of your images)

I am getting an internal server error using GPT-4 vision API. But my code is the same and the API was working well until just a minute ago? I am pretty sure my code is the same so not sure wh there is an error all of a suddon

openai.InternalServerError: Error code: 500 - {‘error’: {‘message’: ‘Something went wrong processing one of your images.’, ‘type’: ‘server_error’, ‘param’: None, ‘code’: None}}

4 Likes

Same problem here! I get exactly the same error while I use the same code as in the documentation.

Here is a snippet from my code:

            messages = [
                        {
                            "role": "user", 
                            "content": [
                                {
                                    "type":"text",
                                    "text":prompt
                                }
                            ]+[
                                {
                                    "type": "image_url",
                                    "image_url": {
                                    "url": f"data:image/jpeg;base64,{encode_image(image_path)}"
                                    }                                    
                                }
                                for image_path in images
                            ]
                        }
                    ]
            chat_completion = self.openai.chat.completions.create(
                            model=self.config["model_name"],  # Choose the engine according to your OpenAI plan
                            messages=messages,
                            max_tokens=min(n_predict, 128),  # Adjust the desired length of the generated response
                            n=1,  # Specify the number of responses you want
                            temperature=gpt_params["temperature"],  # Adjust the temperature for more or less randomness in the output
                            stream=True
                            )
2 Likes

Same here, I just reported the issue to OpenAI through their help portal. It’ll be their servers throwing errors. Not currently showing any downtime or issues on their status page.

Same error here… 2 minutes before was run… API down?

Hello,

I just wanted to report that I am also experiencing the internal server error with the GPT-4 Vision API, similar to what other users have described. My code, which was working fine until recently, is now returning a 500 Internal Server Error with the message Something went wrong processing one of your images. I’m certain that my code hasn’t changed, so it seems this issue might be on the server side.

I hope this issue can be resolved quickly, as many of us rely on this API for important tasks. Looking forward to an update or a fix soon.

Thank you!

1 Like

Same here!
{‘error’: {‘message’: ‘Something went wrong processing one of your images.’, ‘type’: ‘server_error’, ‘param’: None, ‘code’: None}}

Yeah, I have the same issue as well. Used to work fine until just now, about 30minutes ago.

glad it wasn’t only me! I am getting same 500 {'error': {'message': 'Something went wrong processing one of your images.',

now it works again ,.maybe v-api server down

+1 same error, some time it works some time it doesn’t :confused:

+1 on the error
hopefully the support looks into this chat )

I’m having the same issue right now.

OpenAI is having an outage so it can be related :thinking:

Seemingly GPT 4-V is temporarily down?

1 Like

+1 on the error.
Only text requests seem to work but keeps failing when an image url is added

1 Like

Having the same issue today

{
    code = "<null>";
    message = "Something went wrong processing one of your images.";
    param = "<null>";
    type = "server_error";
}

Yes - I am seeing this issue as well right now. The status page says it has been resolved, but it does not look that way to me.

Same here.

In my case, I retried the request with the exact same payload including image files. Then sometimes, I could get the successful response.

Obviously, it’s unstable.

Same here

“error”: {
“message”: “”,
“type”: “server_error”,
“param”: null,
“code”: null
}

Is this issue still ongoing for everyone else?

Error code: 500 - {‘error’: {‘message’: 'The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if you keep seeing this error

1 Like

I am having the same now.

 'type': 'server_error', 'param': None, 'code': None}}