New Ory Agent Security is now live! Claim your complimentary test drive. Get Started!

Skip to main content

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.

SDK ReferenceTypeScript
getFlowError()
ParametersTypeRequiredDescription
idstringrequiredError is the error's ID
VariableType
dataFlowError