lowpoly retires Oct 30, 2026. meshy-7 for 3D generation retires Dec 31, 2026; as a texture model it stays available. Please switch models before these dates to avoid request errors. See all deprecations

Errors

Find out why a request or a task failed, and what to do next. A request can fail right away with an HTTP error, and a task can fail later with a task_error.


Request errors

Meshy returns these errors right away, when it rejects a request. Every error has the same four fields, whatever the status. Branch on code or type, not on message.

400 Bad Request

{
  "type": "invalid_input",
  "code": "parameters_conflict",
  "message": "texture_prompt and texture_image_url are mutually exclusive",
  "doc_url": null
}

404 Not Found

{
  "type": "not_found",
  "code": "route_not_found",
  "message": "NoMatchingRoute: Please double check the path and method",
  "doc_url": null
}

403 Forbidden

{
  "type": "invalid_input",
  "code": "moderation_blocked_nsfw",
  "message": "This content can't be generated because it may not comply with our Acceptable Use Policy regarding NSFW.",
  "doc_url": "https://docs.meshy.ai/en/api/v2/errors#moderation-blocked"
}

Response format

  • Name
    type
    Type
    string
    Description

    The error category. It's never null. The type tells you what to do next, whatever the status. See Error types.

  • Name
    code
    Type
    string
    Description

    The specific problem. It's never null. See Request error codes. Meshy never renames or reuses a code. Meshy may add codes, so handle a code you don't recognize by its type.

  • Name
    message
    Type
    string
    Description

    A description of the error that you can show to people. Don't branch on it, because the wording can change.

  • Name
    doc_url
    Type
    string | null
    Description

    A link to the docs that explain the fix, when it needs more than message can hold. For example, pending_task_limit_reached links the queue limit of each plan, and moderation_blocked links its entry below. null when message already says what to change.

When several parameters are wrong, code describes the first problem and message lists them all.

Text to 3D errors use this object too. The exception is a request Meshy rejects before it reads the API key, for example because the key is missing or invalid. That error is {"message": "..."}.

After a stream opens, its HTTP status stays 200. An error event on the stream has the same four fields, plus status_code, the status the request would have had.

Status codes

  • Name
    2xx
    Description

    Success.

    • Name
      200 - OK
      Description

      The request worked. Reads and deletes return 200.

    • Name
      202 - Accepted
      Description

      Meshy created the task, and the task runs in the background. Every create returns 202 with the task object.

  • Name
    4xx
    Description

    Something is wrong with the request. Fix it before you send it again.

    • Name
      400 - Bad Request
      Description

      A parameter is missing, unknown, malformed, or not allowed with another one. code names the kind of problem, for example parameter_missing or parameters_conflict, and message names the parameter. Each endpoint page lists its own 400 errors.

    • Name
      401 - Unauthorized
      Description

      The API key is missing (api_key_missing) or isn't valid (api_key_invalid). See Authentication.

    • Name
      402 - Payment Required
      Description

      Your account can't pay for the task (insufficient_credits), or it reached a credit limit (credit_limit_reached). On the free plan, most create requests return 402 with plan_upgrade_required.

    • Name
      403 - Forbidden
      Description

      You aren't allowed to make this request. For example, the request came from an address outside the API key's IP allowlist (ip_not_authorized), or content moderation blocked the input or a task's files (a moderation_blocked code). It's also returned when the API key's team member is no longer active on the team, or the account is banned.

    • Name
      404 - Not Found
      Description

      The task or route doesn't exist. task_not_found means no task with this ID belongs to your account.

      route_not_found means the path or method doesn't exist on v2, for example GET /openapi/v2/image-to-3d/{id}. Check the path and method on the endpoint page. To read a task, use GET /openapi/v2/tasks/{id}.

    • Name
      409 - Conflict
      Description

      The task's state doesn't allow the operation (task_in_progress). For example, deleting an IN_PROGRESS task returns 409, because Meshy can't refund a task that a worker has started. Wait for a final status, then delete the task.

    • Name
      422 - Unprocessable Entity
      Description

      The request is valid, but Meshy can't process its input. For example, Rigging can return 422 with model_not_riggable when it can't find a humanoid body in the model.

    • Name
      429 - Too Many Requests
      Description

      One of these limits was reached:

      • You sent more requests than your rate limit allows (rate_limit_exceeded). Wait the number of seconds in the Retry-After header, then retry. See Rate limits.
      • Too many of your tasks are queued or running (pending_task_limit_reached). Wait for some to finish, then retry.
      • On an unlimited plan with no credits left, you reached the number of tasks that can run without credits (concurrent_task_limit_reached). Wait for a task to finish, or top up.
  • Name
    5xx
    Description

    Something went wrong on Meshy's side. Retry with backoff. If the error continues, check the status page and contact us on Discord.


Request error codes

Every request error has one of these codes. The Status column shows the HTTP status that comes with each code. A few codes come with more than one status, because some endpoints answer the same problem with a different status.

type follows the code, not the status. For example, the free-plan refusal is a 402 with the type permission_denied.

codetypeStatusWhat it meansWhat to do
request_body_invalidinvalid_input400The body is empty, isn't valid JSON, or isn't a JSON object.Send a JSON object.
parameter_missinginvalid_input400A required parameter is missing, for example texture_model on a request for a textured model. Or the request has none of a set of alternatives, for example input_task_id or model_url.Add the parameter that message names.
parameter_unknowninvalid_input400The request has a parameter the endpoint doesn't define, for example the misspelled texure_prompt or the v1 parameter hd_texture. Text to 3D requests with mode ignore it instead.Remove the parameter, or send the one that message names.
parameter_invalid_typeinvalid_input400A parameter has the wrong JSON type, for example a string where a number goes.Send the type the endpoint page lists.
parameter_invalid_valueinvalid_input400A parameter's value isn't one the endpoint accepts, for example an unknown ai_model.Send one of the documented values.
parameter_out_of_rangeinvalid_input400A number, length, or count is outside its allowed range.Send a value within the limits on the endpoint page.
parameters_conflictinvalid_input400Two parameters can't be used together, or one needs another. For example, texture_model: "meshy-n1" can't make PBR maps, so it returns this code with enable_pbr: true.Drop one of them, or add the one it needs.
input_task_not_foundinvalid_input400, 404The task in input_task_id, preview_task_id, or rig_task_id doesn't exist or belongs to another account.Check the ID.
input_task_not_readyinvalid_input400The referenced task hasn't succeeded yet.Wait until it's SUCCEEDED, then send the request again.
input_task_expiredinvalid_input400, 404Meshy removed the referenced task's files after the retention period.Create the input task again.
input_task_unsupportedinvalid_input400, 403, 404The referenced task is a kind this endpoint can't use.Use a task of a type the endpoint page lists.
input_download_failedinvalid_input400Meshy couldn't download a URL in the request.Make the URL publicly readable, or send the file as a data URI. A Meshy download URL stops working at its task's expires_at. Send the task's id where the endpoint takes an input task, or your own copy of the file.
input_file_invalidinvalid_input400, 422Meshy received a file but can't use it, for example because the file is empty, corrupt, too large, or in an unsupported format.Send a file in a format and size the endpoint supports.
metadata_invalidinvalid_input400The X-Meshy-Metadata header is malformed, or has more than 64 pairs or 8,192 bytes.Fix the header. See Metadata.
model_not_availableinvalid_input400The ai_model is retired or isn't offered on this endpoint.Use a model the endpoint page lists.
model_not_riggableinvalid_input422Rigging couldn't find a humanoid body in the model, or can't rig it automatically.Use a single humanoid character in a T-pose or A-pose, facing the +Z axis.
moderation_blockedinvalid_input400, 403Content moderation blocked the input.Change the prompt or images. See moderation_blocked.
moderation_blocked_nsfw, moderation_blocked_ip, moderation_blocked_public_figureinvalid_input403Content moderation blocked the input, and the code names the check.Change the prompt or images.
moderation_blocked_ip_filteringinvalid_input403Your organization's IP filtering blocked the input or a task's files.Change the input, or ask your organization's administrator about its IP whitelist.
request_invalidinvalid_input400The request is invalid and no more specific code applies.Read message, fix the request, and send it again.
api_key_missingauthentication_error401The request has no API key.Send Authorization: Bearer <your API key>. See Authentication.
api_key_invalidauthentication_error401, 404The API key isn't valid or was revoked. A 404 means the key's account no longer exists, or the API key selected in the API Playground doesn't exist.Check the key, or create a new one.
insufficient_creditsinsufficient_credits402Your account doesn't have enough credits for the task.Top up, then send the request again.
credit_limit_reachedinsufficient_credits402A member, workspace, or API key credit limit was reached.Raise the limit, or wait until it resets.
plan_upgrade_requiredpermission_denied402, 403Your plan doesn't include this request, for example creating tasks on the free plan.Upgrade your plan.
ip_not_authorizedpermission_denied403The request came from an address outside the API key's IP allowlist. message names the address.Add the address to the allowlist, or send the request from an allowed address.
team_access_deniedpermission_denied403Your account isn't a member of the team the request names.Check the team, or use a key from that team.
access_deniedpermission_denied403You can't make this request, and no more specific code applies.Read message. Contact support if you think it's wrong.
task_not_foundnot_found404The task doesn't exist, belongs to another account, was deleted, or was removed after its retention period.Check the ID.
route_not_foundnot_found404The path or method doesn't exist on v2, for example GET /openapi/v2/image-to-3d/{id}.Check the path and method on the endpoint page. To read a task, use GET /openapi/v2/tasks/{id}.
task_in_progressconflict409The task's state doesn't allow the operation, for example deleting an IN_PROGRESS task.Wait for a final status, then try again.
rate_limit_exceededrate_limited429You sent more requests than your rate limit allows.Wait the number of seconds in Retry-After. See Rate limits.
pending_task_limit_reachedrate_limited429Too many of your tasks are queued or running.Wait for some to finish.
concurrent_task_limit_reachedrate_limited429On an unlimited plan with no credits left, you reached the number of tasks that can run without credits.Wait for a task to finish, or top up.
internal_errorserver_error500Something went wrong on Meshy's side.Retry with backoff. If it continues, contact support.
service_unavailableservice_unavailable503, 502, 504, 422The service or one it depends on is temporarily unavailable, for example during maintenance. Rigging returns 422 when its pose estimation service fails.Retry later.

input_download_failed

Meshy couldn't download a URL in the request, such as image_url or model_url. message says why, for example the HTTP status the host returned or that the download timed out.

Common causes:

  • The URL has expired. A signed URL stops working when its signature expires. Meshy's own result URLs stop working at the task's expires_at. To use a task's output as input, send the task's id where the endpoint takes input_task_id. See Asset retention.
  • The URL isn't public. Meshy downloads it without cookies or credentials. A URL behind a login, or one only your own network can reach, fails.
  • The value isn't an http(s) URL. Send an http(s) URL, or a data URI where the endpoint takes one.

To skip the download, send the file as a data URI, such as data:image/png;base64,.... Each endpoint page says which parameters take one.


Task errors

A task that Meshy created can still fail while it runs. Its status becomes FAILED, Meshy refunds its credits, and task_error explains why. task_error is null for every other status.

A failed task's task_error always has these four fields:

A failed task with a code

{
  "id": "018a210d-8ba4-705c-b111-1f1776f7f578",
  "type": "convert",
  "status": "FAILED",
  "consumed_credits": 0,
  "task_error": {
    "type": "invalid_input",
    "code": "invalid_input",
    "message": "No valid objects found in uploaded model. The file may be empty or contain no importable geometry.",
    "doc_url": "https://docs.meshy.ai/en/api/v2/errors#invalid-input"
  },
  "output": null
}

A failed task without a code

{
  "id": "018a210d-8ba4-705c-b111-1f1776f7f578",
  "type": "rig",
  "status": "FAILED",
  "consumed_credits": 0,
  "task_error": {
    "type": "service_unavailable",
    "code": null,
    "message": "The service is temporarily unavailable. Please retry in a few minutes.",
    "doc_url": null
  },
  "output": null
}

These examples show only part of each task object. For every field, see the task object.

  • Name
    type
    Type
    string
    Description

    The error category. It's never null. Branch on it to decide whether to retry. See Error types.

  • Name
    code
    Type
    string | null
    Description

    A specific, documented problem you can act on. See Error codes. Meshy may add codes, so handle a code you don't recognize by its type, as you would a null code.

    null for errors that have no public code:

    • Every service_unavailable error
    • Most server_error errors
    • Some invalid_input errors, for example an image with no clear subject
  • Name
    message
    Type
    string
    Description

    A description of the error that you can show to people. Don't branch on it, because the wording can change.

  • Name
    doc_url
    Type
    string | null
    Description

    A link to the code's entry in the error reference, for example https://docs.meshy.ai/en/api/v2/errors#timeout. Each code has an entry under the same anchor on this page. null when code is null.


Error types

type is one of the following values, on a request error and on a failed task's task_error. Use it to decide what to do next.

A failed task uses only these types:

  • invalid_input
  • timeout
  • service_unavailable
  • server_error
  • Name
    invalid_input
    Description

    Something is wrong with the input you sent. Read code and message, fix the input, and create a new task. Sending the same input again fails the same way.

  • Name
    timeout
    Description

    The task ran past a server-side time limit, for processing or for waiting in the queue. This is often temporary. Create the task again, and if it keeps failing, try a simpler input.

  • Name
    service_unavailable
    Description

    The service was temporarily unavailable. Wait a moment, then create the task again.

  • Name
    server_error
    Description

    Something went wrong on Meshy's side. Retry the request, or create the task again. If it keeps failing, contact support with the task ID.

  • Name
    authentication_error
    Description

    The API key is missing or isn't valid. Fix the key. Sending the same request again fails the same way.

  • Name
    insufficient_credits
    Description

    Your account doesn't have enough credits for the task, or it reached a credit limit. Top up or raise the limit, then send the request again.

  • Name
    permission_denied
    Description

    Your plan, your API key's IP allowlist, or your team membership doesn't allow the request.

  • Name
    not_found
    Description

    The task doesn't exist for your account, or the route doesn't exist. Check the ID or the path.

  • Name
    conflict
    Description

    The task's state doesn't allow the operation yet. Wait for the state to change, then try again.

  • Name
    rate_limited
    Description

    You sent too many requests, or too many of your tasks are queued or running. Wait, then send the request again. When Retry-After is set, wait that many seconds.


Error codes

When code isn't null, it names one of the following problems. Some codes are more specific than their entry, and their doc_url links to that entry. For example, moderation_blocked covers moderation_blocked_nsfw.

image_too_complex

Type: invalid_input. The input image or prompt describes a subject that is too geometrically complex for 3D generation.

For example:

  • Dense piles of small objects, such as a crate full of fruit or a stack of books
  • Intricate repeating patterns, such as lattice structures, scaffolding, or wire meshes
  • Complex buildings, such as multi-story buildings with many windows and balconies
  • Several distinct objects in one image, instead of a single subject

These inputs are likely too complex:

A crate of mixed berriesAn intricate cathedral ceilingA building under construction with scaffoldingA honeycomb lattice sphere

To fix it, try one or more of the following:

  • Use one object per image. Meshy works best with one clear subject.
  • Simplify your subject. For example, use a simple vase instead of a vase filled with dozens of flowers.
  • Avoid scenes. Whole buildings, city blocks, furnished rooms, and landscapes are likely to be too much. Focus on a single object.
  • Avoid dense repeating structures. Scaffolding, wire meshes, lattices, and piles of small items are common triggers.

model_missing_uv

Type: invalid_input. The model has no UV coordinates, and the request asked Meshy to keep the model's own UVs. UV coordinates define how a 2D texture wraps onto the 3D surface.

No UVs vs Good UVs

To fix it, do one of the following:

  • To keep your own UV layout, for example for custom seam placement, add UVs to the model in your 3D software and upload it again. STL files can't store UVs, so use GLB, FBX, or OBJ.
  • If you don't need your own layout, let Meshy create the UVs. On Retexture, use uv_mode: "auto" (the default) or "regenerate".

model_insufficient_uv

Type: invalid_input. The model has UV coordinates, but they cover too little of the UV space to texture well. This often happens with models whose exporter wrote placeholder or collapsed UVs.

On Retexture, you get this error with uv_mode: "preserve", which keeps the model's UVs and never replaces them.

Insufficient UVs vs Good UVs

To fix it, do one of the following:

  • To keep your own UV layout, unwrap the model's UVs again in your 3D software. Spread the islands across the UV space instead of a small corner of it.
  • If you don't need your own layout, use uv_mode: "auto" (the default), which unwraps the model again when its UVs are too sparse, or "regenerate", which always does. You lose your seam placement, but the new UVs cover enough space to texture.

model_missing_texture

Type: invalid_input. A Multi-Color Print task's input model has no color that Meshy can split into print colors. Meshy builds a multi-color 3MF from the model's colors, so a plain white mesh has nothing to work with. For example, a model generated with should_texture: false has no color, and neither does the output of Repair Printability, or an Auto Split task that didn't keep the texture.

What counts as color depends on the style you requested:

  • realistic samples the base color texture through the model's UVs. It needs a single base color texture, and UVs on every mesh part.
  • cartoon flattens colors per face. It accepts a base color texture on any part, or per-vertex colors (COLOR_0).

A model with neither a base color texture nor vertex colors fails with both styles.

Meshy refuses most of these requests before it creates the task, with a 400 and the same explanation. You get this code only when Meshy can't check the input up front. For example, Meshy checks an .fbx upload only after the task converts it.

To fix it, use the option that fits your model:

  • Texture the model first. Run Retexture on it, or generate it with should_texture: true on Text to 3D or Image to 3D. Then send that task as input_task_id.
  • For a vertex-colored model, such as a photogrammetry scan or a hand-painted mesh, use style: "cartoon", which reads COLOR_0.
  • For a partly textured or multi-texture model with realistic, give every mesh part UVs and the same single base color texture. To do that, texture the remaining parts, or merge the textures into one atlas. You can also switch to style: "cartoon".

textured_split_refused

Type: invalid_input. An Auto Split task with keep_texture: true can't keep the input model's texture on the parts. For example, the model has no UVs, or its texture has no room for the new faces the cuts create. Meshy refunds the credits.

To fix it, send the request again without keep_texture, or with keep_texture: false. The parts then come back with a flat color each.

invalid_input

Type: invalid_input. The input failed a check, and no more specific code applies. message gives the reason.

For example:

  • An empty or corrupted model file
  • An unsupported variant of a file format, such as an ASCII FBX file or a meshopt-compressed GLB file
  • An uploaded model with no valid 3D objects, for example a file with only armatures, cameras, or lights

The code provider_content_refused also links here. It means a model provider's safety check declined the input, for example a prompt, an image, or a model.

To fix it, read message for the specific problem. Check that your input files and parameters meet the endpoint's requirements, or change the input. Then create a new task.

moderation_blocked

Type: invalid_input. Safety filters rejected your prompt or reference images. The filters check the text and the images together.

code can also name the check that blocked the input:

  • moderation_blocked_nsfw
  • moderation_blocked_ip
  • moderation_blocked_public_figure

To catch them all, match codes that start with moderation_blocked.

To fix it, do one or both of the following:

  • Rephrase the prompt to remove suggestive or sensitive descriptions.
  • Change reference images that show content the filters might block.

moderation_unavailable

Type: server_error. Content moderation was temporarily unavailable, so Meshy failed the task instead of skipping the check. Nothing is wrong with your content.

To fix it, create the task again.

timeout

Type: timeout. The task ran past a server-side processing time limit, so Meshy failed it and refunded its credits. High load, or an input too complex to finish in time, can cause it.

This is different from a timeout in your own code. If your client stopped waiting, the task is still running. See How long to wait.

To fix it, follow these steps:

  1. Create the task again. Timeouts are often temporary.
  2. If it keeps failing, simplify your input. For inputs that are harder to process, see image_too_complex.

queue_timeout

Type: timeout. The task waited in the queue too long without starting, so Meshy failed it and returned any credits charged for it. Your input didn't cause this error.

To fix it, create the task again.

format_conversion_failed

Type: server_error. Meshy generated the model, but converting it to a format you requested failed.

To fix it, follow these steps:

  1. Create the task again.
  2. If one format keeps failing, request a different format.

Best practices

  1. Branch on type and code, not on message. For a failed task with timeout, service_unavailable, or server_error, create a new task with exponential backoff. For invalid_input, fix the input.
  2. Don't create a new task when your own request times out. The first task is probably still running, so get it by its ID first. See How long to wait.
  3. Log task IDs. Include the ID when you contact support.
  4. Check inputs before you send them. Make sure images and models meet the endpoint's format requirements.
  5. Call the API from your server. Code that runs in a browser exposes your API key to anyone who opens the page.