Closed ahill187 closed 1 month ago
Hi @ahill187,
Thanks for the report. That response is generated from the Firebase service. Could you please open a Firebase support ticket? They would be in a better place to help you since they can look into the behavior of the backend to see why this might be happening on your account.
Thanks!.
Operating System
Ubuntu 22.04
Browser Version
Chrome/Version 122.0.6261.111 (Official Build) (64-bit)
Firebase SDK Version
10.8.1
Firebase SDK Product:
Auth
Describe your project's tooling
React app with Webpack
Describe the problem
When I make 120 calls to
User.getIdToken(true)
, some of the requests fail with the following error:I have been unable to find any documentation on the
QUOTA_EXCEEDED
error code, except in reference to SMS messages. However, my app does not use SMS for authentication. If there is a quota for number of calls togetIdToken(true)
, this should be documented here: Firebase Javascript Modular Docs: auth.User.getIdToken.Steps and code to reproduce issue
firebase.utils.js
:Api.tsx
:When I make a call to
apiPost()
from another function, the lineconst token = await auth.currentUser.getIdToken(true);
fails ifapiPost
is called too many times.