content_filter | The model provider declined the request.Chat completionsThe provider declined the prompt.Images |
context_length_exceeded | The conversation is too long for the model.Chat completions |
duplicate_json_key | A JSON object in the body repeats a key.Chat completions, Images, Search, Fetch |
e2ee_field_refused | An E2EE request carries a field or value outside the e2ee client contract, such as tools on a model sealed to Phala, or provider.min_privacy, which every e2ee model already meets. Morse forwards the encrypted body as sent and cannot remove it. The message names the field.Chat completions |
e2ee_output_limit_refused | An E2EE request sets max_tokens or max_completion_tokens above the e2ee tier's max_output_tokens, or sets both to different values. Morse forwards the encrypted body as sent and cannot lower them.Chat completions |
e2ee_output_limit_required | An E2EE request sets neither max_tokens nor max_completion_tokens, or sets both to null. Morse forwards the encrypted body as sent and cannot add a limit.Chat completions |
e2ee_unsupported_model | The request carries end-to-end encryption headers, which no transcription model takes. An incomplete set gets the e2ee_ code that names what is wrong with it instead.Transcriptions |
invalid_output_limit | max_tokens or max_completion_tokens is not a positive integer.Chat completions |
invalid_parameter | A field has a value the endpoint refuses. The message names the field.Chat completions, Images, Search, Fetchshape is any value but tiers or aliases, or is sent more than once. The message names tiers and aliases.Modelsqueries, a query, or objective is out of range. The message names it.SearchThe body is not a multipart form with a model and a file, a field is unknown or sent twice, the file is not a WAV file of 16-bit PCM, mono or stereo, at 8 to 48 kHz, or holds no audio, language is not a code Whisper transcribes, or response_format is not json. The message names the problem.Transcriptions |
invalid_request | A message, part, or tool has a shape the model does not take, or the provider refused the request.Chat completionsThe provider rejected the request.ImagesThe provider could not read the audio.Transcriptions |
invalid_request_body | The body is not a JSON object, a field has the wrong JSON type, or model is missing.Chat completions, Images, Search, Fetch |
invalid_url | url is missing, or not an http or https URL of at most 2,048 characters on a public host and the default port.Fetch |
max_price_unmet | Every tier of the model costs you more than provider.max_price allows, at your price: list for an API key. The message names the cheapest tier's price.Chat completions |
message_too_long | In a chat with a character, the last user message holds more than 8,000 bytes of text.Chat completions |
model_unsupported_for_characters | A chat that plays a character, one that sends X-Character or a character's prompt, names a model that GET /v1/models lists with characters false. param is model. Morse refuses before it calls the model or holds any credit.Chat completions |
privacy_floor_unmet | The model's tier is below provider.min_privacy, or below the API key's min_privacy, when param is key.min_privacy, or no endpoint at the tiers the request may run at keeps no data when the request sets provider.zdr or provider.data_collection deny. The message names both tiers. GET /v1/models lists only the models the key may call. Morse refuses before it calls the model or holds any credit.Chat completionsThe model's tier is below the API key's min_privacy. param is key.min_privacy, and the message names both tiers. GET /v1/models lists only the models the key may call. Morse refuses before it calls the model or holds any credit.Images, Search, Fetch, Transcriptions |
provider_choice_unsupported | provider names only, ignore, or enforce_distillable_text. Morse chooses the provider within a privacy tier and refuses a request that would ignore the choice. The message points to the Pricing page, which lists the providers, and to provider.min_privacy, which requires a tier.Chat completions |
quantization_unmet | No host of the model at the tiers the request may run at serves a precision that provider.quantizations admits. param is provider.quantizations, and the message names the precisions those hosts do serve. Morse never moves a request to another tier to find one, so a precision that only a tee host serves needs min_privacy tee. Morse refuses before it calls the model or holds any credit.Chat completions |
quantization_unsupported | An E2EE request sealed to a Phala or NEAR endpoint names provider.quantizations. A body sealed to Phala must carry provider exactly {"aci_verified":true,"zdr":true}, and a body sealed to NEAR is forwarded verbatim and may carry no provider field, so neither route can take quantizations. param is provider.quantizations, and the message names the model and the vendor. Morse refuses before the vendor's body check, before it calls the model or holds any credit.Chat completions |
remote_media | A media part links a URL instead of a data: URL.Chat completionsA reference image links a URL instead of a data: URL.Images |
request_too_complex | The body holds more than 262,144 JSON values.Chat completions |
setting_not_forwarded | An API key whose forward_settings was turned off set temperature, top_p, stop, seed, n, or a response_format other than {"type":"text"}, which Morse sends to no model for it. A new key has forward_settings on unless it is created with forward_settings false or null. The message names the field and the key setting, "Let my settings reach the model host", that sends them, and the developer console's keys page, https://console.trymorse.ai/keys, where it is turned back on.Chat completions |
too_many_messages | messages holds more than 4,096 entries.Chat completions |
unsealable_request | A plaintext request to an e2ee model carries a field Morse cannot seal for you, such as tools, and no other endpoint of the model at the tiers the request may run at takes it. Send only system, user, and assistant messages with string content, or seal the request yourself. The message names the field.Chat completions |
unsupported_input | An API key's messages carry an image part for a model whose input_modalities in GET /v1/models do not include image. The message names what the model reads. Morse refuses before it calls the model or holds any credit.Chat completions |
unsupported_parameter | provider.max_price names image, audio, or request, which no chat price has; the request sets a field that changes the reply and that Morse sends to no model, such as logprobs or frequency_penalty; or an API key whose forward_settings is on sets temperature, top_p, stop, seed, n, or response_format on a model none of whose hosts Morse sends them, such as a Claude model, or a response_format of type json_object or json_schema that no endpoint of the model honours, when the message names the type; or an API key's request lets a model that GET /v1/models lists with tools false call a tool, with tools or a tool_choice other than none, when the field named is tools. The message names the field.Chat completions |