What happened
Atlas Insights collected operational data and exposed it through a reporting API. The API specification described date fields but didn’t prescribe a format. The API team implemented ISO-8601 (2024-03-15) because that’s the standard. The data warehouse team expected US format (03/15/2024) because that’s what internal dashboards used.
Neither team had asked the other. Both read the vague spec and implemented what seemed obvious.
For weeks, the data warehouse silently ingested dates it couldn’t parse and stored null or zero values in date columns. Downstream executive dashboards showed aggregated reports with incorrect time periods. Business decisions were made on data that didn’t reflect reality. When the discrepancy was discovered, the warehouse had to be rebuilt from scratch.
Root cause
The API specification described what the field contained but not how it was formatted. No executable contract test existed to serve as a source of truth. Without an example response that both teams had agreed to test against, each team’s assumption remained hidden until production revealed the conflict.
The fix
The API was updated to use ISO-8601 explicitly (the standard), the spec was updated with concrete examples, and both teams wrote contract tests against those examples. Date format requirements were added to the API design review checklist.
Lesson learned
Ambiguous specifications create silent incompatibilities. Contract tests with concrete example values eliminate ambiguity—the test either passes or it doesn’t.