Skip to content

Errors

The Fyendal’s Collection API uses a structure similar to the one defined in RFC 7807 Problem Details for all failure scenarios.

The exact schema used is defined below:

ProblemResponseModel.ts
interface Problem {
readonly problemType: string;
readonly description: string;
}

The Fyendal’s Collection API guarantees that, for all success HTTP codes, you should expect to receive the response model defined by the endpoint you are interacting with. For all failure HTTP codes, expect to receive a response model compliant with the schema defined above.