Form submission data not appearing in FF or Firestore Database

Troubleshooting

Hi all,

I've just recently started using FF, and made a lot of progress thanks to the documentation and YT tutorials. That said, I am desperately looking for advice on how to solve an issue with creating collections and documents.

I have a profile page with a submit button. However when I go in test mode as an authenticated user I am unable to see the data stored in Firebase Console or in Flutterflow.
The fields are: first_name, last_name, age, bio. When I test as a completely new user, the user is created in Firestore Console, but the data doesnt appear in the collection.

I created the collection in Flutterflow and have also tried creating it manually in Firebase Console.

Despite my best efforts, the the documents are not created.

My action flow is:

Select Firestore > Create Document. Collection: Set to 'profiles'.

Document ID: empty
firstName: Click Set from Variable, select Widget State, choose firstName.
lastName: Click Set from Variable, select Widget State, choose lastName.
age: Click Set from Variable, select Widget State, choose age. bio:
Click Set from Variable, select Widget State, choose bio.

Rules:

`service cloud.firestore {
  match /databases/{database}/documents {
    match /profiles/{userId} {
      allow read, write: if request.auth != null && request.auth.uid == userId;
    }
  }
}`

I've exhausted all options available to me and hoping someone has encountered this issue. Better yet, the solution is simple and user error.

Thanks so much!

What have you tried so far?

I have tried creating the collection and a test document manually in Firebase Console
I've tried creating the collection in Flutterflow and adding a document (unable to add a document after pressing add document, it flashes and nothing happens)
I've tried running the app in test mode and submitting the form (expecting to see a document in Firebase Console or Flutterflow, it doesnt appear anywhere)

I am also unable to upload CSV's in FF at the moment either. Error message: Upload failed. Please try again. I've tried dozens of times already.

Did you check FlutterFlow's Documentation for this topic?
Yes