File: ai-download-error.md | Updated: 11/15/2025
Menu
v5 (Latest)
AI SDK 5.x
Model Context Protocol (MCP) Tools
AI_TooManyEmbeddingValuesForCallError
AI_UnsupportedFunctionalityError
Copy markdown
========================================================================================================
This error occurs when a download fails.
url: The URL that failed to downloadstatusCode: The HTTP status code returned by the serverstatusText: The HTTP status text returned by the servermessage: The error message containing details about the download failureYou can check if an error is an instance of AI_DownloadError using:
import { DownloadError } from 'ai';
if (DownloadError.isInstance(error)) { // Handle the error}
On this page
Deploy and Scale AI Apps with Vercel.
Vercel delivers the infrastructure and developer experience you need to ship reliable AI-powered applications at scale.
Trusted by industry leaders: