All jobs / Backend developer / API Development

Backend developer interview question · 0–1 years

The interviewer asks: “A handler throws. What does the client see?” Strongest answer?

The strongest answer

A stable error code and a safe message. Stack traces, SQL and host names stay in logs. 500 means we failed — not that we dump internals.

Why it works

Exactly. Clients get a contract (RFC 9457 Problem Details is the 2026 default). Operators get the stack in the log with a request id.

What a good answer covers

Answers that fall short

Who gets asked this

More API Development questions