Error codes

codeHTTPMeaning
auth/missing-api-key401No X-API-Key
auth/invalid-api-key401Wrong key or wrong project
auth/invalid-token401Access token expired/invalid — refresh
auth/invalid-email400
auth/weak-password400min 6 chars
auth/email-already-in-use409
auth/user-not-found404
auth/wrong-password401
auth/too-many-requests429account locked 15 min
auth/user-disabled403
auth/email-not-verified403project requires verification
auth/invalid-code400OTP wrong/expired
auth/provider-disabled403
permission-denied403Security rules
db/invalid-collection400
db/not-found404
db/too-large413doc > 256 KB
db/invalid-query400
quota/users|docs|reads|writes|storage|realtime402Plan limit
rate-limited429Too many requests/min from IP
project/not-found404
project/suspended403
method405wrong HTTP method
internal500Server error (logged)

In the SDK errors are ClickBase.Error instances with .code, .message, .status.


Was this page helpful? Tell us. · Download SDK