rewindex

CompaniesFlagsmithIncidents

Flagsmith: Numeric values incorrectly being converted to numbers in environment documents

No impact listedStatus: postmortemStarted Resolved (-1407 min)2 updatesstspg.io (opens in new tab)

Timeline of updates

  1. resolved

    Environment documents were being rendered with numeric values cast as numbers in the JSON responses, instead of the previous behaviour where the values were returned as strings. This caused issues for statically typed languages in particular.

  2. postmortem

    What Happened

    On Monday 3rd March at around 17:00 UTC, we deployed a release to the Edge API that inadvertently changed the JSON types returned for integer-typed feature state values. Values that had previously been returned as JSON strings (e.g., "300") began returning as JSON numbers (e.g., 300). The change affected the /api/v1/environment-document/ endpoint used by SDKs operating in local evaluation mode. Features stored as strings, booleans, or null values were not affected, and the Core API was not affected.

    Our existing test suite did not catch the type change before it reached production. The issue was reported at 18:12 UTC, classified as P0 at 18:27 UTC, and we completed a rollback to the previous stable release by 18:36 UTC, restoring the expected behaviour.

    What's Next?

    We are fixing the underlying serialisation issue at its source before the next production deployment. The next release will preserve the expected string-typed behaviour for numeric features — no customer action is required.

    To prevent this from happening again, we are adding integration tests that compare Core and Edge response types for the /api/v1/environment-document/ endpoint, introducing a stricter review process for any changes that affect serialisation or data types, and requiring that test failures are investigated at their root cause before a fix is applied.

Archive proof

Rewindex commits each version of an incident it captures to a daily checkpoint, chains it to the day before, and has the checkpoint timestamped by FreeTSA and DigiCert. That proves this record existed by then and has not been changed since, by anyone, Rewindex included.

How the archive is checked, and what it cannot prove.

Impact, status and times are the vendor’s own, as last archived. View on stspg.io (opens in new tab).

Cite this

Status incident (vendor impact label: none) posted by Flagsmith, started 2026-03-04 16:26 UTC, resolved after -1407 min, 2 update(s).

Title
Numeric values incorrectly being converted to numbers in environment documents
Vendor
Flagsmith
Date
URL
https://rewindex.com/company/flagsmith/incidents/q3h5kr2z2sgb

Flagsmith profileRecent Flagsmith incidentsAll outages on March 4, 2026Flagsmith in March 2026MarkdownJSON