Firestore Repeatedly Returning Error: 5 NOT_FOUND #2216
Labels
api: firestore
Issues related to the googleapis/nodejs-firestore API.
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
I found support for this issue from the firebase library but the issue exists in this library as well.
cloud.google.com/support told me this was "related to code and implementation" and "falls outside the scope of GCP tech support" even though I have the Enhanced Support for $500 / mo.
The issue is that if you're not using a database with the default name you have to explicitly declare the databaseID when instantiating the
Firestore
object. These docs never mention that or display an example of a database with a custom ID. The example given:will fail unless the custom database ID is added explicitly as so:
it's probably best if you add the
projectId
there explicitly as well:The error message for trying to write to the database without an explicit ID is unhelpful:
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
Is this a client library issue or a product issue?
This is the client library for "@google-cloud/firestore" .
Did someone already solve this?
projectId
was not set but no reference todatabaseId
.If the support paths suggested above still do not result in a resolution, please provide the following details.
Environment details
@google-cloud/firestore
version: 7.10.0Steps to reproduce
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
The text was updated successfully, but these errors were encountered: