# Postgres error 42710: policy "x" for table "y" already exists / role "x" already exists

> A CREATE statement names an object (policy, role, trigger, constraint) that already exists.

Source: https://scribase.com/postgres-errors/42710

SQLSTATE class: Syntax Error or Access Rule Violation. Over PostgREST/supabase-js this maps to HTTP 400.

## Causes

- Re-running a migration that creates policies or triggers.

## Fixes

- Drop it first in the same migration (drop policy if exists "x" on y;) or check the catalog before creating.