Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

[bot] sync troubleshooting guides to db (#32785)

github-actions[bot]840805672ee2
diff --git a/apps/docs/content/troubleshooting/inserting-into-sequenceserial-table-causes-duplicate-key-violates-unique-constraint-error-pi6DnC.mdx b/apps/docs/content/troubleshooting/inserting-into-sequenceserial-table-causes-duplicate-key-violates-unique-constraint-error-pi6DnC.mdx
index 2a3ab48a9df..62d23123f6a 100644
--- a/apps/docs/content/troubleshooting/inserting-into-sequenceserial-table-causes-duplicate-key-violates-unique-constraint-error-pi6DnC.mdx
+++ b/apps/docs/content/troubleshooting/inserting-into-sequenceserial-table-causes-duplicate-key-violates-unique-constraint-error-pi6DnC.mdx
@@ -1,9 +1,10 @@
---
-title = 'Inserting into Sequence/Serial Table Causes "duplicate key violates unique constraint" Error'
+title = "Inserting into Sequence/Serial Table Causes \"duplicate key violates unique constraint\" Error"
github_url = "https://github.com/orgs/supabase/discussions/21134"
date_created = "2024-02-09T03:10:39+00:00"
-topics = ["database"]
-keywords = ["duplicate", "sequence", "table", "key", "constraint"]
+topics = [ "database" ]
+keywords = [ "duplicate", "sequence", "table", "key", "constraint" ]
+database_id = "a1156bbe-289e-4462-a32d-2b0ca03691e4"
[[errors]]
message = "duplicate key violates unique constraint"
diff --git a/apps/docs/content/troubleshooting/insufficient-privilege-when-accessing-pgstatstatements-e5M_EQ.mdx b/apps/docs/content/troubleshooting/insufficient-privilege-when-accessing-pgstatstatements-e5M_EQ.mdx
index ab6243de1b6..af72fe2edce 100644
--- a/apps/docs/content/troubleshooting/insufficient-privilege-when-accessing-pgstatstatements-e5M_EQ.mdx
+++ b/apps/docs/content/troubleshooting/insufficient-privilege-when-accessing-pgstatstatements-e5M_EQ.mdx
@@ -1,9 +1,10 @@
---
-title = '"insufficient privilege" when accessing pg_stat_statements'
+title = "\"insufficient privilege\" when accessing pg_stat_statements"
github_url = "https://github.com/orgs/supabase/discussions/20126"
date_created = "2024-01-03T10:59:49+00:00"
-topics = ["database"]
-keywords = ["privilege", "permissions", "postgres"]
+topics = [ "database" ]
+keywords = [ "privilege", "permissions", "postgres" ]
+database_id = "1da315be-38ac-487a-b178-f865a1a73c09"
[[errors]]
message = "insufficient privilege"
diff --git a/apps/docs/content/troubleshooting/new-variable-is-null-in-a-trigger-function--l9AOZ.mdx b/apps/docs/content/troubleshooting/new-variable-is-null-in-a-trigger-function--l9AOZ.mdx
index 3774aeb2130..09ffe5768d7 100644
--- a/apps/docs/content/troubleshooting/new-variable-is-null-in-a-trigger-function--l9AOZ.mdx
+++ b/apps/docs/content/troubleshooting/new-variable-is-null-in-a-trigger-function--l9AOZ.mdx
@@ -2,8 +2,9 @@
title = "NEW variable is null in a trigger function."
github_url = "https://github.com/orgs/supabase/discussions/15934"
date_created = "2023-07-20T19:05:52+00:00"
-topics = ["database", "functions"]
-keywords = ["trigger", "function", "statement", "row", "NEW", "OLD", "SQL"]
+topics = [ "database", "functions" ]
+keywords = [ "trigger", "function", "statement", "row", "NEW", "OLD", "SQL" ]
+database_id = "f5cabb97-aae3-4fb5-b597-4e7857821753"
---
When you create a function and call it from a trigger the NEW variable is only passed in if the trigger is on ROW operations
diff --git a/apps/docs/content/troubleshooting/partitioning-an-existing-table-with-same-name-VEnbzK.mdx b/apps/docs/content/troubleshooting/partitioning-an-existing-table-with-same-name-VEnbzK.mdx
index fe9d29fbabc..300ef52dd87 100644
--- a/apps/docs/content/troubleshooting/partitioning-an-existing-table-with-same-name-VEnbzK.mdx
+++ b/apps/docs/content/troubleshooting/partitioning-an-existing-table-with-same-name-VEnbzK.mdx
@@ -2,8 +2,9 @@
title = "Partitioning an existing table with same name"
github_url = "https://github.com/orgs/supabase/discussions/21380"
date_created = "2024-02-20T08:39:24+00:00"
-topics = ["database"]
-keywords = ["partitioning", "table", "postgresql", "constraint", "index"]
+topics = [ "database" ]
+keywords = [ "partitioning", "table", "postgresql", "constraint", "index" ]
+database_id = "3142f418-028e-4ab1-8f82-a7096be90422"
---
Our documentation on table partitioning here: https://supabase.com/docs/guides/database/partitions
diff --git a/apps/docs/content/troubleshooting/resolving-42p01-relation-does-not-exist-error-W4_9-V.mdx b/apps/docs/content/troubleshooting/resolving-42p01-relation-does-not-exist-error-W4_9-V.mdx
index c2f982faa0f..e2661ae6854 100644
--- a/apps/docs/content/troubleshooting/resolving-42p01-relation-does-not-exist-error-W4_9-V.mdx
+++ b/apps/docs/content/troubleshooting/resolving-42p01-relation-does-not-exist-error-W4_9-V.mdx
@@ -2,12 +2,13 @@
title = "Resolving 42P01: relation does not exist error"
github_url = "https://github.com/orgs/supabase/discussions/29577"
date_created = "2024-09-29T15:52:41+00:00"
-topics = ["database"]
-keywords = ["relation", "schema", "capitalization"]
+topics = [ "database" ]
+keywords = [ "relation", "schema", "capitalization" ]
+database_id = "72e93bc8-597d-4c72-8d86-4997679196fd"
[[errors]]
code = "42P01"
-message = 'relation "<some table name>" does not exist'
+message = "relation \"<some table name>\" does not exist"
[[errors]]
code = "42501"
diff --git a/apps/docs/content/troubleshooting/why-are-there-gaps-in-my-postgres-id-sequence-Frifus.mdx b/apps/docs/content/troubleshooting/why-are-there-gaps-in-my-postgres-id-sequence-Frifus.mdx
index c6019993177..5bc3e0e6717 100644
--- a/apps/docs/content/troubleshooting/why-are-there-gaps-in-my-postgres-id-sequence-Frifus.mdx
+++ b/apps/docs/content/troubleshooting/why-are-there-gaps-in-my-postgres-id-sequence-Frifus.mdx
@@ -2,11 +2,12 @@
title = "Why are there gaps in my Postgres id sequence?"
github_url = "https://github.com/orgs/supabase/discussions/22299"
date_created = "2024-03-27T18:04:39+00:00"
-topics = ["database"]
-keywords = ["sequence", "id", "rollback", "deletions", "upserts"]
+topics = [ "database" ]
+keywords = [ "sequence", "id", "rollback", "deletions", "upserts" ]
+database_id = "0c0369db-2968-4ea7-9f99-c5f5ce55acad"
[[errors]]
-message = 'Failed to run sql query: duplicate key value violates unique constraint "{table}_pkey"'
+message = "Failed to run sql query: duplicate key value violates unique constraint \"{table}_pkey\""
---
Most database tables have a primary key that is a made-up number, and that number is usually made by a sequence.
diff --git a/apps/docs/content/troubleshooting/why-is-my-select-returning-an-empty-data-array-and-i-have-data-in-the-table-xvOPgx.mdx b/apps/docs/content/troubleshooting/why-is-my-select-returning-an-empty-data-array-and-i-have-data-in-the-table-xvOPgx.mdx
index daa5ac57e85..ec43a9b2e05 100644
--- a/apps/docs/content/troubleshooting/why-is-my-select-returning-an-empty-data-array-and-i-have-data-in-the-table-xvOPgx.mdx
+++ b/apps/docs/content/troubleshooting/why-is-my-select-returning-an-empty-data-array-and-i-have-data-in-the-table-xvOPgx.mdx
@@ -2,8 +2,9 @@
title = "Why is my select returning an empty data array and I have data in the table?"
github_url = "https://github.com/orgs/supabase/discussions/12895"
date_created = "2023-03-08T16:38:02+00:00"
-topics = ["database", "auth"]
-keywords = ["rls", "policy", "filter", "jwt"]
+topics = [ "database", "auth" ]
+keywords = [ "rls", "policy", "filter", "jwt" ]
+database_id = "6fa68831-6db8-4836-a1b4-e9e51296d529"
---
Usually this means you have RLS (row level security) enabled and no policy, or do not meet the policy. It can also mean you have a filter and have no rows matching that.