Error Reporting
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
The TCGdex API can have differents types of errors depending one what you are doing on it, any error is reported back to the user in the standard format RFC9457.
RFC 9457 is a standardized format for expressing error details in HTTP API responses, making it easier for clients to understand and handle errors.
Features
- Content-Type: Error details are conveyed in a JSON body with
Content-Type
equal toapplication/problem+json
. - Standard Attributes: The document includes several standardized attributes to describe the problem:
type
: A URL that identifies the problem type. It is also a link to provide documentation about the error.title
: A short, human-readable summary of the problem type.status
: The HTTP status code.detail
: A human-readable explanation specific to this occurrence of the problem.
Example
An example JSON response using RFC 9457 look like this:
For more detailed information about the RFC, you can read the full RFC 9457 document.
You can also below check the TCGdex API specific errors.