Firebase Collection Problems

I'm encountering an issue when saving some results to a firebase collection using a loop. It works up until one of two thing happens - It stops at 20 loops/iterations - It stops at one before the last item in the array (if its 10 items, it will do 9) this also stops it from finishing the workflow because its not completing the loop can someone help me figure out why this is happening. It doesnt happen every single time but Its got me scared to run and test it because this is a very costly api workflow
No description
Solution:
Hi @!CarlYouKilledIt, Yes right, this is a Firestore limit, it allow on ly 20 read and write currently - https://firebase.google.com/docs/firestore/quotas.
Jump to solution
2 Replies
!CarlYouKilledIt
I think this might have to do with usage and limit rates with firebase but how come it works sometimes and not others.
Solution
Gaurav Chadha
Gaurav Chadha6mo ago
Hi @!CarlYouKilledIt, Yes right, this is a Firestore limit, it allow on ly 20 read and write currently - https://firebase.google.com/docs/firestore/quotas.