API Design · Middle · Question 10 of 75

Why should error codes in the body be stable and documented?

Explanation

Messages can change and be translated; codes are the contract.

Further reading

Problem with a question

API Design · Middle · question 10

Test yourself

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

Take this quiz