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

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