[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" [... #299
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('6d301c4d-bc7e-4bb0-8dff-74056ad76a42'), UUID('8dcd2e7c-2edf-433b-b0c2-dcb120575e19'), 'bb2181efcffc949c461657afd9da4142aabc458702dd179400ff2cb3288c2c11', datetime.datetime(2026, 7, 31, 10, 53, 25, 577020, 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: