Errors
Every error code the API returns.
Errors use application/problem+json (RFC 9457). The code is stable. type links here.
{
"type": "https://docs.superslice.co/errors/plate_type_required",
"title": "the printer has plate types and none was given",
"status": 400,
"code": "plate_type_required"
}invalid_request also carries errors, a list of { path, message } for each bad field.
Request errors
The request was refused. No slice was created and nothing was billed.
| HTTP | Code | Meaning |
|---|---|---|
| 400 | invalid_request | The body doesn't match the schema, or a required query parameter is missing |
| 400 | The release doesn't exist or isn't active or deprecated | |
| 400 | engine_release_not_allowed | Your org's selection for that slicer excludes the release |
| 400 | slicer_off | Your org turned that slicer off |
| 400 | plate_type_required | The printer has plate types and none was given |
| 400 | plate_type_unsupported | The printer doesn't offer that plate type |
| 400 | preset_not_found | A preset name doesn't exist in this release |
| 400 | preset_incompatible | The presets don't work together, or the filament has no density. Also a job failure. |
| 400 | preset_not_ready | A partner preset works on none of the releases this slice could run on, or on the engine_release you named. |
| 400 | preset_base_unsupported | An uploaded preset has no single built-in base preset |
| 400 | unsupported_feature | The printer can't be sliced, such as the Creality CR-30 belt printer. Also a job failure. |
| 401 | The API key is missing, wrong, revoked or expired | |
| 402 | slice_limit_reached | The org used its slices for this period. Upgrade or buy a top-up. See Limits. |
| 402 | plan_limit_reached | The plan's preset limit is reached. Upgrade or delete presets. |
| 403 | forbidden | The key lacks the scope: slices:write, slices:read or catalogue:read |
| 404 | not_found | The id, release or slicer doesn't exist in this org |
| 409 | idempotency_conflict | The Idempotency-Key was used with a different body |
| 409 | model_in_use | The model has unfinished slices and can't be deleted yet |
| 409 | preset_exists | You already have a preset of that slicer and kind with this name |
| 409 | preset_name_reserved | The name belongs to a built-in preset of that slicer |
| 413 | model_too_large | The upload is over 95 MB |
| 413 | preset_too_large | The preset file is over 1 MB |
| 429 | rate_limited | Over a rate or concurrency limit. Retry-After gives seconds. See Limits. |
| 500 | internal_error | Our fault. Retry later. Also a job failure. |
Failure codes
An accepted slice that fails has status: failed and error.code set to one of these. The same code arrives in the slice.failed callback.
| Code | Meaning | What to do |
|---|---|---|
model_unreadable | The file isn't a valid STL or 3MF, or the engine couldn't read it | Ask for another file |
model_out_of_bed | The model doesn't fit the printer | Pick a bigger printer or scale the model |
download_failed | source_url couldn't be fetched | Check the URL |
preset_incompatible | The engine rejected the combination, or an override names a setting the preset doesn't have | Change the filament, plate type or override |
unsupported_feature | The model needs something not supported, such as more than one filament | Send a single-colour model |
engine_timeout | The slice ran over the time limit | Simplify the model, or contact support |
engine_crashed | The engine crashed, or its worker was lost, on all 3 attempts | Contact support |
internal_error | Our fault. We are alerted. | Retry later |
Was this page helpful?