[Auto] [Backend] POST /api/v1/auth/password-reset/request: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.InsufficientPrivilegeError'>: new row violates row-level security policy for table "password_reset_tokens" [... #288
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Error Report
Message: [Backend] POST /api/v1/auth/password-reset/request: (sqlalchemy.dialects.postgresql.asyncpg.ProgrammingError) <class 'asyncpg.exceptions.InsufficientPrivilegeError'>: new row violates row-level security policy for table "password_reset_tokens"
[SQL: INSERT INTO password_reset_tokens (id, user_id, token_hash, expires_at, used_at, tenant_id, deleted_at) VALUES ($1::UUID, $2::UUID, $3::VARCHAR, $4::TIMESTAMP WITH TIME ZONE, $5::TIMESTAMP WITH TIME ZONE, $6::UUID, $7::TIMESTAMP WITH TIME ZONE) RETURNING password_reset_tokens.created_at, password_reset_tokens.updated_at]
[parameters: (UUID('f2f93ee3-249d-4ac8-b830-3dd569afde4d'), UUID('8dcd2e7c-2edf-433b-b0c2-dcb120575e19'), 'be9cb7fa915ff70b6c40331b607fc9f215204c7f215fc107415af8f64297307c', datetime.datetime(2026, 7, 31, 8, 23, 23, 544512, tzinfo=datetime.timezone.utc), None, UUID('bfe4d09e-e84d-4e01-ba00-8bc2aa49e5aa'), None)]
(Background on this error at: https://sqlalche.me/e/20/f405)
Stack:
URL: http://crm.media-on.de/api/v1/auth/password-reset/request
Context: