📁 Sangam Dhakal - Portfolio v2.0 - Netscape Navigator 4.0
_
□
×

📚 Interview question

A team refuses to adopt the shared error format because their existing clients depend on their own. How do you handle it?

Staff / Architect Architecture Expert api-governance architecture backward-compatibility problem-details web-api

🎯 Key points

  • Understand the clients and migration cost before deciding (who, how many, contract terms)
  • Never break existing clients: legacy format stays on existing endpoints/versions
  • Time-boxed exception recorded in the governance catalogue with an owner and review date
  • Standard ProblemDetails (RFC 9457) for new endpoints and the next major version
  • Opt-in path: Accept header or version lets clients move when ready
  • Shared package and gateway transformation lower adoption cost
  • Measure adoption: share of endpoints/traffic on the standard, exceptions open past expiry
  • Communicate with the team's clients: changelog, migration guide, feedback

⏱ 30-second answer

Understand the cost first: who the clients are, how many, what their contracts say and what migrating them would take. The rule I would not bend is never break existing clients.

  • Exception with an expiry: existing endpoints keep their format; new endpoints and the next major version use the standard ProblemDetails (RFC 9457). Record it in the catalogue with an owner and review date.
  • Opt-in path: clients can ask for the standard format via the version or Accept header and move when ready, with a migration guide and changelog.
  • Make it cheap: the shared error package, and a gateway transformation as a bridge if needed.
  • Measure: share of endpoints and traffic on the standard, exceptions past expiry.

Forcing an immediate change would cost more than the inconsistency.

🔍 What the interviewer is checking

Checks negotiation, strategic thinking and technical leadership: balancing a shared standard against a team's real client commitments without breaking anyone.

Green flags

  • Asks about the clients and migration cost before deciding
  • Offers a time-boxed exception plus a path to the standard
  • Lowers adoption cost (shared package, gateway) and measures adoption

Red flags

  • Mandates the change regardless of client impact
  • Grants a permanent, unrecorded exception

↩ Usually asked after

More in API Design

Last updated 23 Nov 2026.

🌐 Sangam's Webring

⏪ Previous 🏠 Main Next ⏩
💬 Chat with me