upsert() new row violates row-level security policy

I'm trying to update a user, but I'm getting an error, any idea how to fix this? As far as I can see, everything is correct but for some reason I can't update the user.
Captura_de_pantalla_2022-11-22_215252.png
Captura_de_pantalla_2022-11-22_215438.png
Was this page helpful?