---
title: INTERNAL_OPTIMIZED_IMAGE_REQUEST_FAILED
product: vercel
url: /docs/errors/INTERNAL_OPTIMIZED_IMAGE_REQUEST_FAILED
type: reference
prerequisites:
  []
related:
  - /docs/runtime-logs
summary: The request for an internally optimized image failed. This is a server error.
install_vercel_plugin: npx plugins add vercel/vercel-plugin
---

# INTERNAL_OPTIMIZED_IMAGE_REQUEST_FAILED

The `INTERNAL_OPTIMIZED_IMAGE_REQUEST_FAILED` error occurs when the request for an internally optimized image fails.

**Error Code:** `502`

**Name:** Internal Server Error

## Troubleshoot

To troubleshoot this error, follow these steps:

1. **Verify image path:** Ensure that the image path is correct and the server can access the image
2. **Check logs:** Review [logs](/docs/runtime-logs) for more details on the error
3. **Validate configuration:** Ensure that the configuration for image optimization is correct


---

[View full sitemap](/docs/sitemap)
