Skip to content

Persistent "Invalid Collection" Error on User Creation #6504

@ab-201118-eng

Description

@ab-201118-eng

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Hello FlutterFlow Team,
I am facing a persistent project-breaking error and I need your help.
The Error: "Invalid collection specified for user creation on sign in."
What I have done:
My Firebase is fully connected.
I have a users collection created from the template.
In Authentication settings, the Entry Page and Logged In Page are set correctly.
In Firestore settings, the "Create User Document" option is enabled and correctly set to the users collection.
I have deployed Firestore Rules successfully.
I have tried duplicating the project, and even deleting and recreating the collections and pages from scratch.
Despite all these steps, this single error remains and prevents me from running the project. Could you please investigate this issue in my project? It seems to be a bug or a stuck state that I cannot resolve on my own.
Project Name: Tawasol V2
Thank you for your help.

Expected Behavior

After setting up Firebase Authentication and enabling "Create User Document", I expected that creating a new user would succeed and a new document would be created in the 'users' collection. The project should be able to run in Test Mode without errors.

Steps to Reproduce

  1. Create a new blank project.
  2. Connect it to a new Firebase project.
  3. Enable Authentication.
  4. Create a 'users' collection from the template.
  5. In Firestore settings, enable "Create User Document" and select the 'users' collection.
  6. Add the default Auth pages (Login/Sign Up).
  7. Observe the "Invalid collection specified" error appears and prevents running the project.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

https://app.flutterflow.io/project/tawasol-v2-r25cpv?tab=database (The "Get Bug Report Code" button is not visible, but this is the project URL. Please let me know if you need me to grant support access.)

Visual documentation

Image

Environment

- FlutterFlow version: 
- Platform:Web
- Browser name and version: Chrome
- Operating system and version affected: Windows 11

Additional Information

This issue is completely blocking my project development. Thank you for your help.

Metadata

Metadata

Assignees

Labels

status: can't reproduceFollowing the reported steps did not reproduce the bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions