API Design · Senior · Question 62 of 75

How should breaking changes to error formats be treated?

Explanation

Adopting RFC 9457 in an existing API is best done as an opt-in (e.g. via Accept: application/problem+json) or a new version.

Further reading

Problem with a question

API Design · Senior · question 62

Test yourself

Take the API Design · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz