You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flutter: gRPC Error (code: 3, codeName: INVALID_ARGUMENT, message: Database name "projects/XXX/databases/(default)/documents" has extra characters at index XX., details: [], rawResponse: null, trailers: {})
The issue is because the 'database' name is set with the trailing '/documents' suffix, which is invalid.
firestore_gateway.dart setListenRequest( does this:
The database here should be the database itself, not the 'collections' path (which is just a document in firestore). Passing the database name without the trailing '/documents' fixes the issue.
Firestore gateway likely should not set the 'database' equal to the data+'/documents' path, like it is doing here:
Here is the changes I made locally to fix the .stream issues, feel free to take as much of this as you want for yourself and merge it in, I unfortunately do not have the bandwidth for tests+pull request.
Note this also includes support for Firestore Auth emulator
flutter: gRPC Error (code: 3, codeName: INVALID_ARGUMENT, message: Database name "projects/XXX/databases/(default)/documents" has extra characters at index XX., details: [], rawResponse: null, trailers: {})
The issue is because the 'database' name is set with the trailing '/documents' suffix, which is invalid.
firestore_gateway.dart
setListenRequest(
does this:The
database
here should be the database itself, not the 'collections' path (which is just a document in firestore). Passing the database name without the trailing '/documents' fixes the issue.Firestore gateway likely should not set the 'database' equal to the data+'/documents' path, like it is doing here:
The text was updated successfully, but these errors were encountered: