Error Code Portal
GoogleFirebase Authentication Admin SDKError code

auth/claims-too-large

claims too large

Code auth/claims-too-large · An issue reported by Firebase Authentication Admin SDK.

The claims payload provided to setCustomUserClaims() exceeds the maximum allowed size of 1000 bytes.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.