The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
[bot] sync troubleshooting guides to db (#32779)
github-actions[bot]b21094cac082
diff --git a/apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdx b/apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdxindex faf47e31af6..350e43f8b5c 100644--- a/apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdx+++ b/apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdx@@ -2,7 +2,8 @@title = "Are all features available in self-hosted Supabase?"github_url = "https://github.com/orgs/supabase/discussions/27299"date_created = "2024-06-16T09:33:39+00:00"-topics = ["self-hosting"]+topics = [ "self-hosting" ]+database_id = "03854567-8838-4f12-8a6c-095fc1671d9f"---### Overviewdiff --git a/apps/docs/content/troubleshooting/forbidden-resource-error-from-the-cli-L6rm6l.mdx b/apps/docs/content/troubleshooting/forbidden-resource-error-from-the-cli-L6rm6l.mdxindex edcb9000b59..726332b9afb 100644--- a/apps/docs/content/troubleshooting/forbidden-resource-error-from-the-cli-L6rm6l.mdx+++ b/apps/docs/content/troubleshooting/forbidden-resource-error-from-the-cli-L6rm6l.mdx@@ -2,11 +2,12 @@title = "Forbidden resource error from the CLI"github_url = "https://github.com/orgs/supabase/discussions/21602"date_created = "2024-02-27T09:37:38+00:00"-topics = ["cli", "platform"]-keywords = ["cli", "authorization", "token", "permissions"]+topics = [ "cli", "platform" ]+keywords = [ "cli", "authorization", "token", "permissions" ]+database_id = "b095c3ed-23e7-4a17-9e33-d811af25ba67"[api]-cli = ["supabase-link", "supabase-login"]+cli = [ "supabase-link", "supabase-login" ][[errors]]http_status_code = 403diff --git a/apps/docs/content/troubleshooting/performing-administration-tasks-on-the-server-side-with-the-servicerole-secret-BYM4Fa.mdx b/apps/docs/content/troubleshooting/performing-administration-tasks-on-the-server-side-with-the-servicerole-secret-BYM4Fa.mdxindex b4bb02e5f9e..d8387878832 100644--- a/apps/docs/content/troubleshooting/performing-administration-tasks-on-the-server-side-with-the-servicerole-secret-BYM4Fa.mdx+++ b/apps/docs/content/troubleshooting/performing-administration-tasks-on-the-server-side-with-the-servicerole-secret-BYM4Fa.mdx@@ -2,8 +2,9 @@title = "Performing administration tasks on the server side with the service_role secret"github_url = "https://github.com/orgs/supabase/discussions/15860"date_created = "2023-07-18T12:25:03+00:00"-topics = ["auth", "platform"]-keywords = ["service_role", "server", "security"]+topics = [ "auth", "platform" ]+keywords = [ "service_role", "server", "security" ]+database_id = "0d3389c0-5e75-473c-a18b-0699d0911fb2"---By default, the auth-helpers/ssr do not permit the use of the `service_role` `secret`. This restriction is in place to prevent the accidental exposure of your `service_role` `secret` to the public. Since the auth-helpers/ssr function on both the server and client side, it becomes challenging to separate the key specifically for client-side usage.diff --git a/apps/docs/content/troubleshooting/transferring-from-cloud-to-self-host-in-supabase-2oWNvW.mdx b/apps/docs/content/troubleshooting/transferring-from-cloud-to-self-host-in-supabase-2oWNvW.mdxindex 68f0be76fa6..0d682cc00bf 100644--- a/apps/docs/content/troubleshooting/transferring-from-cloud-to-self-host-in-supabase-2oWNvW.mdx+++ b/apps/docs/content/troubleshooting/transferring-from-cloud-to-self-host-in-supabase-2oWNvW.mdx@@ -2,8 +2,9 @@title = "Transferring from cloud to self-host in Supabase"github_url = "https://github.com/orgs/supabase/discussions/22712"date_created = "2024-04-14T15:19:10+00:00"-topics = ["database", "self-hosting"]-keywords = ["migrate", "pg_dump", "psql", "self-host"]+topics = [ "database", "self-hosting" ]+keywords = [ "migrate", "pg_dump", "psql", "self-host" ]+database_id = "c6b6ae3c-1b5b-4ba8-a40f-5f2ca1f007e2"---To migrate from cloud to self-hosting, you can use the [pg_dump](https://www.postgresql.org/docs/9.6/app-pgdump.html) command to export your database to an SQL file, which then you can run on any database to load the same data in.diff --git a/apps/docs/content/troubleshooting/why-am-i-being-redirected-to-the-wrong-url-when-using-auth-redirectto-option-_vqIeO.mdx b/apps/docs/content/troubleshooting/why-am-i-being-redirected-to-the-wrong-url-when-using-auth-redirectto-option-_vqIeO.mdxindex d5d1cd6db67..423b1fdefaf 100644--- a/apps/docs/content/troubleshooting/why-am-i-being-redirected-to-the-wrong-url-when-using-auth-redirectto-option-_vqIeO.mdx+++ b/apps/docs/content/troubleshooting/why-am-i-being-redirected-to-the-wrong-url-when-using-auth-redirectto-option-_vqIeO.mdx@@ -2,7 +2,8 @@title = "Why am I being redirected to the wrong url when using auth redirectTo option?"github_url = "https://github.com/orgs/supabase/discussions/12946"date_created = "2023-03-10T17:15:10+00:00"-topics = ["auth"]+topics = [ "auth" ]+database_id = "d4b45e90-9c52-4781-8cc2-d936e8f4edeb"---Also, Why am I getting redirected to localhost instead of my production site URL?diff --git a/apps/docs/content/troubleshooting/why-do-i-see-auth--api-requests-in-the-dashboard-my-app-has-no-users-CyadiO.mdx b/apps/docs/content/troubleshooting/why-do-i-see-auth--api-requests-in-the-dashboard-my-app-has-no-users-CyadiO.mdxindex 4192febae45..e048e0b8265 100644--- a/apps/docs/content/troubleshooting/why-do-i-see-auth--api-requests-in-the-dashboard-my-app-has-no-users-CyadiO.mdx+++ b/apps/docs/content/troubleshooting/why-do-i-see-auth--api-requests-in-the-dashboard-my-app-has-no-users-CyadiO.mdx@@ -2,8 +2,9 @@title = "Why do I see Auth & API requests in the dashboard? My app has no users"github_url = "https://github.com/orgs/supabase/discussions/21579"date_created = "2024-02-26T21:39:41+00:00"-topics = ["auth", "platform", "database", "realtime", "functions"]-keywords = ["dashboard", "health", "endpoints"]+topics = [ "auth", "platform", "database", "realtime", "functions" ]+keywords = [ "dashboard", "health", "endpoints" ]+database_id = "f85935d8-e871-4463-8288-f118f4e24afd"---The dashboard makes requests to the health endpoints of the supabase services (Database, Auth, Data API, Realtime, Edge Functions to ensure everything is working). These requests appear in the charts about your project:diff --git a/apps/docs/content/troubleshooting/why-is-my-service-role-key-client-getting-rls-errors-or-not-returning-data-7_1K9z.mdx b/apps/docs/content/troubleshooting/why-is-my-service-role-key-client-getting-rls-errors-or-not-returning-data-7_1K9z.mdxindex 41d2031e195..105ffead6c5 100644--- a/apps/docs/content/troubleshooting/why-is-my-service-role-key-client-getting-rls-errors-or-not-returning-data-7_1K9z.mdx+++ b/apps/docs/content/troubleshooting/why-is-my-service-role-key-client-getting-rls-errors-or-not-returning-data-7_1K9z.mdx@@ -2,8 +2,9 @@title = "Why is my service role key client getting RLS errors or not returning data?"github_url = "https://github.com/orgs/supabase/discussions/30146"date_created = "2024-10-28T18:31:39+00:00"-topics = ["auth", "database"]-keywords = ["rls", "service_role", "authorization", "session", "apikey"]+topics = [ "auth", "database" ]+keywords = [ "rls", "service_role", "authorization", "session", "apikey" ]+database_id = "677f0a69-e454-4718-ad92-91053d40c085"---A Supabase client with the Authorization header set to the service role apikey will ALWAYS bypass RLS. By default the Authorization header is the apikey used in createClient. If you are getting an RLS error then you have a user session getting into the client or you initialized with the anon key. RLS in enforced based on the Authorization header and not the apikey header.diff --git a/apps/docs/content/troubleshooting/why-is-my-supabase-api-call-not-returning-PGzXw0.mdx b/apps/docs/content/troubleshooting/why-is-my-supabase-api-call-not-returning-PGzXw0.mdxindex 0f08434a628..b476e187b78 100644--- a/apps/docs/content/troubleshooting/why-is-my-supabase-api-call-not-returning-PGzXw0.mdx+++ b/apps/docs/content/troubleshooting/why-is-my-supabase-api-call-not-returning-PGzXw0.mdx@@ -2,8 +2,9 @@title = "Why is my supabase API call not returning?"github_url = "https://github.com/orgs/supabase/discussions/19058"date_created = "2023-11-17T22:39:54+00:00"-topics = ["auth", "platform"]-keywords = ["deadlock", "hang", "async"]+topics = [ "auth", "platform" ]+keywords = [ "deadlock", "hang", "async" ]+database_id = "0a6f6d33-7331-4b47-87ec-7ade7a6a5924"---There is currently a bug in supabase-js which results in a deadlock if any async API call is made in onAuthStateChange code. If a call is made in the handler then the next Supabase call anywhere using that client will hang and not return.