---
title: "Get User-Flow Errors"
method: GET
path: "/self-service/errors"
tags: ["frontend"]
---

# Get User-Flow Errors

`GET /self-service/errors`

This endpoint returns the error associated with a user-facing self service errors.

This endpoint supports stub values to help you implement the error UI:

`?id=stub:500` - returns a stub 500 (Internal Server Error) error.

More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).

## Query parameters

- `id` string, required

## Response `200`

flowError

- FlowError
  - `created_at` string, date-time — CreatedAt is a helper struct field for gobuffalo.pop.
  - `error` object
  - `id` string, uuid, required — ID of the error container.
  - `updated_at` string, date-time — UpdatedAt is a helper struct field for gobuffalo.pop.

## Other responses

- `403` — errorGeneric
- `404` — errorGeneric
- `500` — errorGeneric

## Changes

> 47 revisions in range; 1 could not be searched.

- **2022-12-02** `b6e5ffa30d4c` — 1 breaking, 3 info
  - the `id` response's property type/format changed from `string`/`uuid4` to `string`/`uuid` for status `200`
  - api operation id `getSelfServiceError` removed and replaced with `getFlowError`
  - api tag `frontend` added
  - api tag `v0alpha2` removed
- **2021-10-28** `c55ed8ad9f0c` — 5 info
  - api tag `v0alpha2` added
  - api tag `v0alpha1` removed
  - added the optional property `error/id` to the response with the `403` status
  - added the optional property `error/id` to the response with the `404` status
  - …1 more
- **2021-07-13** `8f1b399ab6e6` — 2 breaking, 1 warning, 4 info
  - added the new required `query` request parameter `id`
  - removed the required property `errors` from the response with the `200` status
  - deleted the `query` request parameter `error`
  - api tag `v0alpha1` added
  - …3 more
- **2021-05-18** `9123bcead5ed` — 8 info
  - added the optional property `created_at` to the response with the `200` status
  - added the optional property `updated_at` to the response with the `200` status
  - the response property `error` became required for the status `403`
  - the response property `error` became required for the status `404`
  - …4 more
- …earlier changes not shown

[Full history](https://skmtc.dev/ory/apis/ory-identities-api/changes/self-service/errors/get.md)

---

[API](https://skmtc.dev/ory/apis/ory-identities-api.md) · [All operations](https://skmtc.dev/ory/apis/ory-identities-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ory/ory-identities-api/revisions/7a0df90e2f13/schema)
