All jobs / Full-stack developer / Frontend

Full-stack developer interview question · 0–1 years

Saving a profile can fail with a 400 (`email taken`) or a 500.

What does the UI show?

The strongest answer

A field message for a 400 the API explained, and a retryable 'something went wrong' for a 500 — never the stack trace

Why it works

Exactly. 400s are often the user's to fix; 500s are ours. The stack trace is for logs, not the page.

What a good answer covers

Answers that fall short

Who gets asked this

More Frontend questions