Firestore transaction fails with “Transaction failed all retries”

Posted by Jennifer | Updated on

Firestore transaction fails with “Transaction failed all retries”. Firstly, try using the reference from the fresh snapshot and not from the original document reference. If this doesn’t work, try changing [set] to [update] as I remember having the same error as you have experience now.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers