Integrations

The integration returns 304 instead of JSON: does the flow understand “not modified”?

A developer adds a condition to reduce data transfer, and the system returns 304. “Not modified” sounds reasonable, but a JSON-consuming flow step may not own the earlier representation that response refers to. Understanding…

3 min readLast updated November 4, 2026
A developer and colleague reviewing a connection between business systems

A developer adds a condition to reduce data transfer, and the system returns 304. “Not modified” sounds reasonable, but a JSON-consuming flow step may not own the earlier representation that response refers to. Understanding the result requires the request contract, rather than treating the number only as success or a network failure.

What does 304 mean in context?

HTTP defines it for a conditional GET or HEAD, such as one using If-None-Match. It indicates that the client's cached resource remains valid and does not carry the resource body itself. It does not mean the resource is empty or inventory equals zero.

Do not assume every API supports this mechanism or uses identical conditions. Review the actual service contract and outgoing request, distinguishing a browser experiment from the server-side integration request.

A flow is not a browser reconstructing a cached page

The reviewed Taloo webhook path reports success according to the HTTP client's successful-response result and does not reconstruct an earlier JSON body for a 304 in this function. It also requires response success before saving configured response mappings.

Do not add a conditional header and assume the flow knows where the last valid representation resides or how it is matched to an organisation and request. Allowing a custom header does not itself create data storage, invalidation and reuse logic.

In a hypothetical example, an integration reads service availability while an intermediary retains an earlier representation. If the contract uses 304, define who owns that representation and how a usable result reaches the next stage. That design needs verification rather than being assumed as a ready-made Taloo capability.

Agree on the result the journey requires

The service might provide suitable JSON for each required read, or an approved intermediary might manage conditional requests and cached representations. Do not simply change the status to 200 without preparing the correct result. An empty body under another number does not repair the data contract.

Test changed resources, unchanged resources and an absent previous representation with synthetic data. Do not use a bodyless response to erase an older value or automatically replace it with zero, or repeat consequential customer actions to investigate caching.

If a valid body returns but values remain unsaved, review mapping JSON paths to flow variables. If the uncertainty concerns empty values, read missing values versus zero.

Acceptance should establish that the journey received its required information under the agreed conditions. “Not modified” is useful where a reference representation and explicit reuse procedure exist, rather than where each party assumes the other retains it.