Error guide
Your app reached the database, but the database refused to save the row. Row-level security is on for that table, and no rule allows this user to add this row.
user_id) must equal the signed-in user's id. If the app sends no user_id, or a different one, the rule refuses it.Don't fix it by turning row-level security off, or by adding a rule that allows everyone. That makes every user's rows open to everyone.
Practice app: in one of my practice apps, where I planted this fault to test my checks, the notes table had rules for viewing, editing and deleting notes, but none for adding one, so every new note was refused. The fix was one added rule: signed-in users may add notes only under their own user id.
I'll show you what's wrong, on video, within 24 hours. Free.
Please don't put passwords or keys in the form.