Error codes
| code | HTTP | Meaning |
|---|---|---|
auth/missing-api-key | 401 | No X-API-Key |
auth/invalid-api-key | 401 | Wrong key or wrong project |
auth/invalid-token | 401 | Access token expired/invalid — refresh |
auth/invalid-email | 400 | |
auth/weak-password | 400 | min 6 chars |
auth/email-already-in-use | 409 | |
auth/user-not-found | 404 | |
auth/wrong-password | 401 | |
auth/too-many-requests | 429 | account locked 15 min |
auth/user-disabled | 403 | |
auth/email-not-verified | 403 | project requires verification |
auth/invalid-code | 400 | OTP wrong/expired |
auth/provider-disabled | 403 | |
permission-denied | 403 | Security rules |
db/invalid-collection | 400 | |
db/not-found | 404 | |
db/too-large | 413 | doc > 256 KB |
db/invalid-query | 400 | |
quota/users|docs|reads|writes|storage|realtime | 402 | Plan limit |
rate-limited | 429 | Too many requests/min from IP |
project/not-found | 404 | |
project/suspended | 403 | |
method | 405 | wrong HTTP method |
internal | 500 | Server error (logged) |
In the SDK errors are ClickBase.Error instances with .code, .message, .status.
Was this page helpful? Tell us. · Download SDK