The API Added a Status. Why Did the Portal Stop?
A small change to an interface can leave an older portal unable to explain what happened. Test the consumer that is still in use.
The short answer
Review API changes against the requests, responses and meanings that existing consumers depend on. Keep older clients in the acceptance tests, define safe handling for unfamiliar values and plan a versioned transition when compatibility cannot be preserved. A valid response is only part of a working integration.
At a glance
- Test existing consumers, not only the updated API.
- Agree safe handling for unfamiliar statuses and structured errors.
- Use a planned migration when existing behaviour cannot be preserved.
The new value nobody recognised
A fictional licensing service adds a new application status: awaiting inspection. The API returns a valid response, and its own checks pass. An older citizen portal recognises only received, approved and rejected. Its status screen now fails for the applications that need an inspection. This is an illustrative integration, not an Invade Core delivery. Nobody removed a field. The change still interrupted the service. Before approving the next API release, ask which portal, mobile app or partner system must continue working without being updated at the same time.
Separate the shape from the meaning
Google's AIP-180 distinguishes source, wire and semantic compatibility: whether code still works with a library, whether messages can still be exchanged, and whether behaviour still matches reasonable expectations. It warns that clients may handle new response enum values poorly. An enum is a defined set of values, such as those application statuses. Our review would put the old and proposed responses side by side, then ask what each consuming screen does with them. Check missing values, field types and default behaviour as well as names. A successful HTTP response cannot tell the service owner whether the citizen sees a useful next step.[1]
Decide what an unfamiliar value should do
Microsoft's API design guidance says added response fields can be compatible when existing clients ignore unfamiliar fields; removing or renaming fields can break them. That is a condition to verify, not a blanket promise about every addition. For our licensing example, we would agree an explicit fallback for an unfamiliar status: retain the application reference, explain that its progress needs checking and provide the appropriate support route. Do not silently interpret an unknown value as approval. If a workflow depends on an exact status to permit an action, stop that action for review. Test the fallback in the existing client, including any generated code it uses.[2]
Include the error path in the agreement
Errors belong in the same agreement. RFC 9457 defines machine-readable problem details for HTTP APIs and advises consumers against parsing the human-readable detail text for information. That matters when a team improves the wording of an error or translates it. We would ask the portal to use the documented problem type or agreed structured fields for its decision, while showing suitable explanatory text to the person. Rehearse a validation failure and an unfamiliar problem type. Keep the application reference available and avoid displaying internal diagnostics. The citizen should get a recoverable next step rather than an empty screen after a wording change.[3]
Give older consumers a migration route
When the old behaviour cannot be preserved, agree a transition before changing the live interface. Microsoft describes versioning options and the need to support existing clients while newer ones adopt changed features. Our proposed release note would identify the affected consumers, the behaviour changing, a test endpoint, migration owners and an agreed retirement date. Ask each owner to demonstrate the replacement route. Check real version usage where authorised telemetry exists, without recording request bodies unnecessarily. A calendar deadline is useful coordination; it is not evidence that a partner has migrated. Define how the team will respond if a required consumer remains on the old version.[2]
Ask for evidence from the version still running
For this portal, we would run an acceptance set against the version people still use: an ordinary application, the new status, an extra field, a missing optional value and the agreed error cases. Let a service colleague follow the journey while engineers inspect the exchange. Preserve the test inputs and expected outcomes so a later release can repeat them. These checks cover the consumers and cases included; they do not prove that every unknown integration will survive. Finish with the evidence, remaining assumptions and the owner of each gap. The useful release is one that adds the inspection step while citizens can still find out what happens next.
Sources and further reading
See how to plan a project in the UK.
Explore Software & Digital Product Engineering