Error management
Shlink’s REST API implements the Problem Details standard for error management.
Because of this, all error responses will have Content-Type: application/problem+json
, and the payload will have at least these properties:
type
: A unique error code identifying the error.detail
: A human-friendly description of the error.title
: A short unique error title.status
: The same value returned as the response status code.
Some errors can have extra properties, depending on their nature.
Error interpretation depends on the context and the endpoint. Every endpoint includes the documentation for its specific errors.
For more information, read the API specification.