# Core API: Increased error rates

- Provider: [Flagsmith](https://down.guide/flagsmith)
- Level: confirmed
- Impact: Degraded
- lasted 8m
- started 2022-07-01 11:31 UTC
- Admin API
- id: DWN-4c7b62292e
- Official page: https://stspg.io/568f1syqmbl2

## Updates from Flagsmith
### 2022-07-01 11:31 UTC: investigating
We are seeing increased 502 responses to our Core API. We are aware of the cause and working on a fix. 
The Edge API is unaffected.

### 2022-07-01 11:40 UTC: resolved
This incident has been resolved.

### 2022-07-01 11:40 UTC: postmortem
As part of a new feature rollout, there was a large database migration that needed to take place. We knew that the migration would take some time, however, it should not have affected production traffic. 
Unfortunately, despite our health check returning unhealthy until all migrations are complete, AWS ECS promoted the new version of the API application before the migrations were complete. This meant that the code that was running was expecting certain columns / data to be available in the database which weren’t there yet. 
We are still investigating what caused ECS to promote the new version before the migrations were complete.

---
down.guide reads providers' official status pages every minute and adds its own evidence, always labeled. Free, no account. Agents: MCP at https://down.guide/mcp, REST at https://down.guide/api/v1, feeds at https://down.guide/feed. Built by Sazabi (https://sazabi.com/?utm_source=down-guide&utm_medium=markdown).
