Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having plus symbol in Firestore Document ID returns 404 document not found #587

Open
tolotrasamuel opened this issue Dec 3, 2023 · 1 comment

Comments

@tolotrasamuel
Copy link

  1. create a document with ID "PARIS+PLUS";

  2. Use read the document with the same ID

    final fireStoreApi = FirestoreApi(client.client);
    late final _root = fireStoreApi.projects.databases.documents;
    final documents = await _root.get(
    "PARIS+PLUS",
    );

  3. It returns 404 not found but the value actually exists and can be viewed in firebase console

  4. I checked on frontend frame, the document is read successfully, so this is an issue with this package

@kevmoo
Copy link
Collaborator

kevmoo commented Dec 28, 2024

Please confirm the problem exists when following the docs here: https://cloud.google.com/firestore/docs/reference/rest/v1/projects.databases.documents/get

I think you're formatting the name incorrectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants