© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•9mo ago•
22 replies
h8h

How to use Supabase queue in localhost?

I tried to use Supabase queue in my localhost for a Next.js project.

I'm pretty sure that I followed all the necessary configs for Supabase queue, everything from this section https://supabase.com/docs/guides/queues/quickstart#expose-queues-to-client-side-consumers:
- Expose Queues via PostgREST
- Enable RLS on your tables in pgmq schema
- Grant permissions to pgmq_public database functions

I also exposed the
pgmq_public
pgmq_public
by adding it in this config https://supabase.com/docs/guides/local-development/cli/config#api.schemas

api
  schemas: ["public", "graphql_public", "pgmq_public"]
api
  schemas: ["public", "graphql_public", "pgmq_public"]


But when I tried to enqueue something, I always got error:
The schema must be one of the following: public, graphql_public
The schema must be one of the following: public, graphql_public
.

Is it because supabase queue just does not work with localhost yet (so I can stop trying that)? Or because I still missed some configs? It's really frustrated just to make this working.
Thanks
image.png
Supabase CLI config | Supabase Docs
Supabase CLI config | Supabase Docs
Quickstart | Supabase Docs
Learn how to use Supabase Queues to add and read messages
Quickstart | Supabase Docs
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Supabase queue
SupabaseSSupabase / help-and-questions
5mo ago
How to use Supabase MCP in Kiro
SupabaseSSupabase / help-and-questions
7mo ago
Supabase queue processing
SupabaseSSupabase / help-and-questions
4y ago
Hosted Supabase - Invite redirects to localhost
SupabaseSSupabase / help-and-questions
4y ago