---
title: "Retrive the error number and text. Not compatible with OctoPrint."
method: GET
path: "/api/printer/error"
---

# Retrive the error number and text. Not compatible with OctoPrint.

`GET /api/printer/error`

## Response `200`

Custom endpoint to get error details. Client can see if printer is in error state by polling /api/printer

- Error
  - `code` string — Prusa error code. Mus be string if we will have printer with code for example 04
  - `title` string, required — Prusa error text string with prefiled variable macros.
  - `text` string, required — Prusa error text string with prefiled variable macros.
  - `url` string — Link to the Prusa help page

## Other responses

- `403` — Unauthorized

## Changes

- **2021-09-23** `7ad880a6c0c4` — 12 info
  - the response property `text` became required for the status `200`
  - the response property `text` became required for the status `403`
  - the response property `title` became required for the status `200`
  - the response property `title` became required for the status `403`
  - …8 more
- **2021-02-22** `30eda14983ed` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/prusa3d/apis/prusalink-web/changes/api/printer/error/get.md)

---

[API](https://skmtc.dev/prusa3d/apis/prusalink-web.md) · [All operations](https://skmtc.dev/prusa3d/apis/prusalink-web/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/prusa3d/prusalink-web/revisions/ebdce30f1db8/schema)
