Troubleshooting
"Facility data is approximately ___ KB" warning
Symptom
An admin sees a toast like: "Facility data has reached approximately 500 KB. Plan to archive older trips before it approaches Firestore's 1 MiB document limit," or a more urgent version at 700 KB: "Archive old records soon to avoid failed saves."
Cause
All of a facility's trips, residents, destinations, and other records live in one database document, which has a hard 1 MiB (roughly 1,048,576 byte) size limit. As history accumulates, the document grows.
What to do
- At ~500 KB ("Watch"): no action required yet, but start planning to archive older records.
- At ~700 KB ("High"): archive old records soon — contact support if you're not sure how, since archiving is currently handled as an owner-assisted operation rather than a self-service button.
- Check current size any time in Settings → Database Connection.
Who sees this
Only facility admins get the interruptive toast; managers/other staff can see the read-only size card in Settings but aren't interrupted.
Notes
- This only tracks the size of your facility's own data — it isn't related to your billing plan or trip count caps.