Cannot list project snippets by supabase cli
Describe the bug Cannot list project snippets by supabase cli
To Reproduce Steps to reproduce the behavior:
- yarn supabase login
- yarn supabase supabase link --project-ref <Project Ref>
- yarn supabase snippets list --debug --create-ticket
Expected behavior list all the snippet codes in terminal.
Screenshots
yarn supabase snippets list --debug --create-ticket yarn run v1.22.22 $ /Users/admin/repos/XXX-repo/node_modules/.bin/supabase snippets list --debug --create-ticket Supabase CLI 2.26.9 2025/06/24 13:59:12 HTTP GET: https://api.supabase.com/v1/snippets?project_ref=XXXXX Unexpected error listing SQL snippets: {"message":"Failed to list project's SQL snippets","errorEventId":"3fac0bd1bf06470589e7ac2fe9813090"}
System information
Rerun the failing command with --create-ticket flag.
- Ticket ID: 836185521cef4b11973fa69bae88fbce
- Version of OS: MacOS 14.3.1(23D60)
- Version of CLI: Supabase CLI 2.26.9
- Version of Docker: 25.0.3
- Versions of services: [output from
supabase servicescommand]
yarn supabase services
yarn run v1.22.22
$ /Users/admin/repos/aligh-mono/node_modules/.bin/supabase services
SERVICE IMAGE | LOCAL | LINKED
------------------------|------------------------|------------
supabase/postgres | 15.6.1.127 | 15.6.1.127
supabase/gotrue | v2.176.1 | v2.176.1
postgrest/postgrest | v12.2.3 | v12.2.3
supabase/realtime | v2.36.18 | -
supabase/storage-api | v1.24.6 | -
supabase/edge-runtime | v1.67.4 | -
supabase/studio | 2025.06.16-sha-c4316c3 | -
supabase/postgres-meta | v0.89.3 | -
supabase/logflare | 1.14.2 | -
supabase/supavisor | 2.5.2 | -
Additional context If applicable, add any other context about the problem here.
- Version of supabase-js: 2.49.1
- Version of Node.js: v20.18.0