Resolving Firestore gRPC Error and Understanding Read Limits in Blaze Plan

222 views
Skip to first unread message

keita shiya

unread,
Mar 21, 2023, 4:33:21 PM3/21/23
to Firebase Google Group
I'd like to know more about the conditions that cause the following error:

gRPC Error (code: 14, codeName: UNAVAILABLE, message: The datastore operation timed out, or the data was temporarily unavailable., details: [], rawResponse: null)

This error occurs a few times a day in a batch process that runs every 5 minutes. I'm not using the SDK, but instead accessing the Cloud Firestore API's getDocument directly.

The error seems to happen while retrieving documents from a collection, with a total count of a few hundred documents. I have implemented retry logic when the error occurs, but I'm wondering if there's a way to prevent the error from happening in the first place. Also, are there any API limits for Firestore read operations in the Blaze plan?
Reply all
Reply to author
Forward
0 new messages