fire store rules - I'm not sure why it doesn't work

Database & APIs
Resolved

Hello, I'm very new to fire store rules and today when I tried to allow user to upload photos and tested it in the test mode, I got this notification (look at the image). I read some stuff about fire store rules, watched a few videos and I used chat gpt to help me with the setup but after that I'm still getting this notification when I'm trying to upload a photo in the test mode.

Any Ideas why or what should I check?

Also one thing is that when I tried to understand and set this up with chat gpt, it tried to put collection 'photos' inside my database and after I noticed that, it asked if I want to save pictures as a field in documents of the product collection or if I want to store it in fire storage. And I'm not entirely sure what all of that technically means, I thought that I'm saving the img path as a field but it's actually being stored in the fire storage. So how it's actually working?

Important to notice: In ma database there are for now only 3 collections for categories, subcategories and users.

Thank you!

What have you tried so far?

documentations, chat gpt, yt videos

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