问题
I have an array of size 10000. All those are document ids. I am running an array and need to get the document data from Firestone and need to add the new fields in each document. But I am facing the below errors like
@firebase/firestore: Firestore (5.3.1): FirebaseError: [code=resource-exhausted]: Resource has been exhausted (e.g. check quota).
@firebase/firestore: Firestore (5.3.1): Using maximum backoff delay to prevent overloading the backend.
Error getting document: FirebaseError: Failed to get document because the client is offline.
at new t (https://www.gstatic.com/firebasejs/5.3.1/firebase-firestore.js:1:61679)
at Object.next (https://www.gstatic.com/firebasejs/5.3.1/firebase-firestore.js:1:308843)
at next (https://www.gstatic.com/firebasejs/5.3.1/firebase-firestore.js:1:308006)
at https://www.gstatic.com/firebasejs/5.3.1/firebase-firestore.js:1:277502
Please help me out to solve this.
来源:https://stackoverflow.com/questions/61476809/firebaseerror-code-resource-exhausted-resource-has-been-exhausted-e-g-chec