# OPTIMIZED_EXTERNAL_IMAGE_REQUEST_UNAUTHORIZED

The `OPTIMIZED_EXTERNAL_IMAGE_REQUEST_UNAUTHORIZED` error occurs when the external image request is unauthorized.

## Troubleshoot

To troubleshoot this error, follow these steps:

1. **Check permissions:** Ensure that you have the necessary permissions to access the external image
2. **Verify authentication:** Check for any authentication or authorization issues with the external source
3. **Update credentials:** Ensure that any required credentials or tokens are correctly set and not expired
4. **Remove filters**: Remove any filters that may be blocking the request, such as headers or IP restrictions


--------------------------------------------------------------------------------
title: "OPTIMIZED_EXTERNAL_IMAGE_TOO_MANY_REDIRECTS"
description: "The external image request encountered too many redirects. This is a request error."
last_updated: "2026-02-03T02:58:42.141Z"
source: "https://vercel.com/docs/errors/OPTIMIZED_EXTERNAL_IMAGE_TOO_MANY_REDIRECTS"
--------------------------------------------------------------------------------