Consistent Error Responses

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • easy
  • Pro

Every endpoint in your API reports errors differently: some return plain text, some a message field, some an empty body. Explain how you'd design one consistent error format and make sure every endpoint uses it.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →