Hello! I'm trying to use the `inviteUserByEmail` m...
# help
d
Hello! I'm trying to use the
inviteUserByEmail
method and I'm getting this error:
Copy code
{
  "message": "User not allowed",
  "status": 401,
}
Any ideas would be appreciated!
o
Hi Did you add some policies to your project?
d
Hey! I added some RLS policies to a few db tables
o
So it could comes from there. You maybe added a policies to the ``auth.users`` table, and so you are not able to send emails anymore (not sure if it comes from this table but probably)
d
Hmm, I'm not even sure where to see policies for
auth.users
o
Authentication > Policies or using ``pg_policy`` if available