cli icon indicating copy to clipboard operation
cli copied to clipboard

Problem linking to project

Open CalvinWilkinson opened this issue 10 months ago • 3 comments

Describe the bug I am trying to link to a remove project (non-local of course) using the supabase link --project-ref <proj-ref> --password <db-pass> command, and I am getting the following error message in the terminal.

Unexpected error retrieving remote project status: {"message":"Failed to retrieve project status"}

I am not sure that you can reproduce this due to the command being so simple, but the obvious reproduction list below is what I am doing.

To Reproduce Steps to reproduce the behavior:

  1. Open a terminal
  2. Enter the command supabase link --project-ref <proj-ref-here> --password <db-pass-here>
  3. Observe the error message

Expected behavior The CLI successfully linking to the project.

Screenshots

Image

System information Rerun the failing command with --create-ticket flag.

  • Ticket ID: [e.g. ab1ac733e31e4f928a4d7c8402543712]
  • Version of OS: Windows 24H2 (OS Build 26100.3194)
  • Version of CLI: v2.15.8 (Installed via scoop)
  • Version of Docker: v27.5.1
  • Versions of services:
    SERVICE IMAGE LOCAL LINKED
    supabase/postgres 15.1.1.73 -
    supabase/gotrue v2.168.0 -
    postgrest/postgrest v12.2.1 -
    supabase/realtime v2.34.31 -
    supabase/storage-api v1.17.1 -
    supabase/edge-runtime v1.67.2 -
    supabase/studio 20250224-d10db0f -
    supabase/postgres-meta v0.86.0 -
    supabase/logflare 1.11.0 -
    supabase/supavisor 2.3.9 -

Additional context N/A

CalvinWilkinson avatar Feb 28 '25 15:02 CalvinWilkinson

Could you create a support ticket? It seems to be specific to your hosted project and not a general bug.

sweatybridge avatar Mar 02 '25 08:03 sweatybridge

@sweatybridge

Sure thing!

Administrator in EAClassManager on  preview via 🦕 v2.2.2 via  v22.13.0
❯ supabase link --project-ref <redacted> --password <redacted> --create-ticket
WARN: no SMS provider is enabled. Disabling phone login
Unexpected error retrieving remote project status: {"message":"Failed to retrieve project status"}
Try rerunning the command with --debug to troubleshoot the error.
Sent crash report: c2ca32be07d34487a863d5127e871672
Quote the crash ID above when filing a bug report: https://github.com/supabase/cli/issues/new/choose

CalvinWilkinson avatar Mar 04 '25 17:03 CalvinWilkinson

@sweatybridge Is there any update on this?

I just attempted it again, and now I am getting the following:

Unexpected error retrieving remote project status: {"message":"Unauthorized"}

I recreated the ticket for this new response. The crash report ID is 7830a1a7123a45ed8564924d9f32e43e

Also, I have had a few issues in the past, and we have collaborated on them before. We are under a paid PRO account now, and I don't know if that changes the priority on some of the issues that I am having. How does that work with paid users?

I am running supabase version v2.23.4

CalvinWilkinson avatar May 29 '25 14:05 CalvinWilkinson