vercel/ai
Documented errors, page 5 of 6. Back to vercel/ai
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
AI_EmptyResponseBodyError Empty response body | exception | error | bedrock, streaming, empty-response |
| DeepSeek assistant prefix completion requires `prefix… | validation | error | deepseek, prefix-completion, invalid-prompt |
| Image generation failed. | exception | error | image, generation-failed, polling, invalid-data |
| Incompatible auth server: does not support code challenge… | exception | error | oauth, pkce, s256, mcp |
| Multiple system messages that are separated by… | exception | error | bedrock, prompt-format, unsupported-functionality, messages |
| Port is not exposed on this sandbox. Exposed ports: [ ]. | exception | error | sandbox, port-endpoint, configuration, vercel |
| Google Vertex Chirp speech models do not support Express… | exception | error | authentication, google-vertex, express-mode, speech |
| Video model supports at most video(s) per call, but were… | validation | error | video, validation, batch-limit |
| Duplicate Cline skill name | validation | error | harness-cline, skills, configuration, duplicate-name |
| 'HarnessAgent: `sandboxConfig.workDir` must be relative.' | validation | error | path, validation, sandbox, configuration |
| 'HarnessAgent: `sandboxConfig.workDir` must not be empty.' | validation | error | config, sandbox, validation, workdir |
| resources/read is limited to ui:// resources | validation | error | mcp-apps, security, iframe, policy |
| Unknown chunk type | exception | error | streaming, version-mismatch, internal |
| Unsupported image mime type | exception | error | unsupported-functionality, bedrock, image, mime-type |
| StdioMCPTransport already started. | exception | error | lifecycle, double-start, stdio |
| The codex harness needs a TCP port exposed by the sandbox… | exception | error | harness-codex, sandbox, networking, port |
| Transcription failed | exception | error | transcription, provider-error, polling |
| Image generation completed but no image was found. | exception | error | image, api-response, polling, invalid-data |
| Server does not support completions | exception | error | mcp, capability, completions, feature-detection |
| Chunking function must return a non-empty string. | exception | error | streaming, smooth-stream, custom-detector |
| Harness 'pi' does not support structured output. | exception | error | capability, structured-output, unsupported |
| Invalid host tool catalog poll request. | http | warning | validation, relay, catalog, harness-acp |
| MCP SSE Transport Error: Connection closed unexpectedly | exception | error | network, sse, connection-closed |
| The ACP harness supports only portable text prompts and… | exception | error | acp, multimodal, image, unsupported-content |
| 'HarnessAgent: `sandboxConfig.workDir` must use POSIX path… | validation | error | path, windows, posix, validation |
| Server does not support the requested protocol version | exception | error | mcp, protocol-version, handshake, compatibility |
| unauthorized tool relay request | http | error | http, authorization, relay |
| Video model does not implement doStatus. | exception | error | video, capability, unsupported-operation |
| Fireworks image generation timed out after | exception | error | timeout, image-generation, polling, fireworks |
| Invalid ui/open-link url | validation | warning | mcp-apps, validation, url, iframe |
| Method not implemented. | exception | warning | not-implemented, streaming, langchain |
| Server sent invalid initialize result | exception | error | mcp, initialization, handshake, protocol |
| The Alibaba model function cannot be called with the new… | exception | error | typescript, api-usage, constructor |
| Together AI does not support mask-based image editing. Use… | validation | error | image-generation, unsupported-feature, togetherai, api-misuse |
| MCP HTTP Transport Error: Transport already started. Note… | exception | error | lifecycle, double-start, transport |
| Gemini image models do not support generating a set number… | exception | error | unsupported-parameter, image-generation, google-vertex, gemini |
| Tool approval was requested, but the renderer does not… | exception | error | tui, tool-approval, renderer, config |
| xAI batch " " is not complete. | validation | error | xai, batch, not-complete, timing |
| Cartesia realtime client secrets must expire between 1 and… | validation | error | validation, realtime, argument-error |
| ElevenLabs only supports audio/pcmu at 8000 Hz | validation | error | elevenlabs, audio-format, sample-rate, invalid-argument |
| Only images and PDF file parts are supported | exception | error | mistral, unsupported-functionality, media-type, file-part |
| ${response.error} | exception | error | xai, api-call-error, http-200, chat |
| ACP permission mapping for | exception | error | acp, permissions, enum-value, configuration |
| cline: only text user-message parts are supported; got | exception | error | harness-cline, multimodal, unsupported-capability, message-parts |
| API key is missing. Pass it using the 'apiKey' parameter… | exception | error | fal, api-key, edge-runtime, missing-env-var |
| Disallowed ui/open-link scheme | validation | error | mcp-apps, security, url, iframe, policy |
| ACP session has an in-flight turn; suspend it instead. | exception | error | acp, detach, turn-in-flight, suspend |
| Not implemented | exception | error | unimplemented, workflow, agent |
| Received reasoning-end for missing reasoning part with ID | exception | error | streaming, ui-message-stream, reasoning, protocol-violation |
| `model` cannot be a string in `streamUI`. Use the actual… | exception | error | api-misuse, migration, model-instance |
| OpenCode session create failed | exception | critical | session, opencode, http, api |
| `useUIState` must be used inside an | exception | error | react-context, rsc, missing-provider, hooks |
| Anthropic Message Batches cannot decode the JSON-tool… | exception | error | |
| Image generation was blocked due to a content policy… | exception | error | xai, image-generation, content-policy, moderation |
| Luma AI only supports URL-based images. Please provide… | exception | error | unsupported-feature, image-input, url-required, luma |
| Moonshot AI Partial Mode cannot be combined with JSON… | validation | error | moonshotai, invalid-prompt, partial-mode, response-format, json-mode |
| Stdio MCP commands and arguments must not contain line… | exception | error | security, windows, stdio, injection |
| ACP session has no in-flight turn to suspend. | exception | error | acp, suspend, turn-state, session-lifecycle |
| Open Responses extension | validation | error | open-responses, extension, tool-encoding, validation |
| LMNT does not provide language models | exception | error | provider, no-such-model, speech, wrong-provider |
MINIMAX_VIDEO_GENERATION_CANCELLED MiniMax video generation was cancelled. Task ID | exception | error | minimax, video-generation, task-cancelled, async-polling |
TranscriptionJobPollingTimedOut Transcription job polling timed out | error_code | error | timeout, polling, transcription, revai |
| 'HarnessAgent: `sandboxConfig.workDir` must stay inside the… | validation | error | path, security, validation, sandbox |
| Server does not support prompts | exception | error | mcp, capability-negotiation, prompts, client |
| The codex harness cannot use `mintBridgeToken` with a… | exception | error | harness-codex, sandbox, bridge-token, unsupported-capability |
| 'file part media type | exception | error | xai, unsupported-functionality, file-parts, inline-data |
| ACP session is stopped; cannot detach. | exception | error | acp, detach, session-lifecycle, stopped-session |
| Video generation did not complete after webhook… | exception | error | video, webhook, async-status |
| Cartesia Ink 2 currently supports English only. | validation | error | validation, realtime, unsupported-feature |
| Invalid argument for parameter enumValues: Enum values are… | validation | error | invalid-argument, enum-values, no-schema, input-validation |
| : UI stream is already closed. | exception | error | streaming, lifecycle, react-server-components |
| Received reasoning-delta for missing reasoning part with ID | exception | error | streaming, ui-message-stream, reasoning, protocol-violation |
| Chunking must be "word", "line", a RegExp, an… | validation | error | streaming, smooth-stream, invalid-argument, configuration |
| Not a directory | exception | error | ls, filesystem, not-a-directory |
| ACP v1 does not define manual session compaction. | exception | error | acp, compaction, unsupported-capability |
| No such imageModel | exception | error | zai, image-generation, no-such-model, provider-capability |
| The ACP harness supports only portable text prompts and… | exception | error | acp, multimodal, file, unsupported-content |
| DeepSeek filenames must not exceed | validation | error | file-upload, filename, validation |
| HarnessAgent: `onSandboxSession` is deprecated. Use… | console | warning | deprecation, sandbox, harness, migration |
| No finish chunk received | exception | error | streaming, workflow, incomplete |
| Received text-end for missing text part with ID | exception | error | streaming, ui-message-stream, protocol-violation, text-parts |
| 'file part media type | exception | error | xai, file-parts, media-type, unsupported |
| Invalid argument for parameter schemaDescription: Schema… | validation | error | invalid-argument, schema-description, no-schema, input-validation |
| No image generated. | exception | error | acp, validation, reserved-path, skills |
| ElevenLabs does not provide embedding models | exception | error | provider-capability, embeddings, no-such-model |
| maxInputBytesPerCall must be greater than 0 | exception | error | acp, validation, duplicate, skills |
| Pi has no active runtime session to steer. | exception | error | lifecycle, steering, session-state |
| Fish Audio does not provide embedding models | exception | error | unsupported-model-type, provider-api, embeddings, fish-audio |
| The Azure OpenAI model function cannot be called with the… | exception | error | javascript, api-usage, azure |
| Tool " " does not have an execute function. Client-side… | exception | error | tools, workflow, client-side |
| ACP runtime environment key | validation | error | configuration, environment, validation |
| Fish Audio does not provide image models | exception | error | unsupported-model-type, provider-api, image-generation, fish-audio |
| Unsupported MCP App resource content format | exception | error | mcp, mcp-apps, resource, payload |
| Anthropic Message Batches cannot restore the custom… | exception | error | |
| API key is missing. Pass it using the ' ' parameter or the… | exception | error | api-key, environment, configuration |
| Invalid n: expected a positive integer, received | validation | error | video, validation, arguments |
| The Anthropic AWS model function cannot be called with the… | exception | error | api-misuse, typescript, provider, aws |
| The ACP harness supports only portable text prompts and… | exception | error | acp, unsupported-content, content-parts |
| .append(): The current value is not a string. Received | exception | error | streaming, rsc, type-error, append |
| Harness 'codex' does not support built-in tool approval… | exception | error | harness-codex, unsupported-capability, permissions, start-options |