supabase link --debug Supabase CLI 2.34.3 2025/08/12 17:26:38 HTTP GET: https://api.supabase.com/v1/projects Selected project: [REDACTED] 2025/08/12 17:26:40 HTTP GET: https://api.supabase.com/v1/projects/[REDACTED] 2025/08/12 17:26:40 HTTP GET: https://api.supabase.com/v1/projects/[REDACTED]/api-keys?reveal=true 2025/08/12 17:26:41 HTTP GET: https://api.supabase.com/v1/projects/[REDACTED]/config/database/postgres 2025/08/12 17:26:41 HTTP GET: https://api.supabase.com/v1/projects/[REDACTED]/network-restrictions 2025/08/12 17:26:41 HTTP GET: https://api.supabase.com/v1/projects/[REDACTED]/postgrest 2025/08/12 17:26:41 HTTP GET: https://api.supabase.com/v1/projects/[REDACTED]/config/auth 2025/08/12 17:26:41 HTTP GET: https://[REDACTED].supabase.co/auth/v1/health 2025/08/12 17:26:41 HTTP GET: https://api.supabase.com/v1/projects/[REDACTED]/config/database/pooler 2025/08/12 17:26:41 HTTP GET: https://api.supabase.com/v1/projects/[REDACTED]/config/storage 2025/08/12 17:26:41 HTTP GET: https://[REDACTED].supabase.co/rest/v1/ Using connection pooler: postgresql://postgres.[REDACTED]:[YOUR-PASSWORD]@aws-0-us-east-1.pooler.supabase.com:6543/postgres Initialising cli_login_postgres role... 2025/08/12 17:26:41 HTTP POST: https://api.supabase.com/v1/projects/[REDACTED]/database/query failed to connect as temp role: failed to connect to `host=aws-0-us-east-1.pooler.supabase.com user=cli_login_postgres.[REDACTED] database=postgres`: failed SASL auth (invalid SCRAM server-final-message received from server) Retry (1/8): Connecting to remote database... 2025/08/12 17:26:47 PG Send: {"Type":"StartupMessage","ProtocolVersion":196608,"Parameters":{"database":"postgres","user":"cli_login_postgres.[REDACTED]"}} 2025/08/12 17:26:47 PG Recv: {"Type":"AuthenticationSASL","AuthMechanisms":["SCRAM-SHA-256"]} 2025/08/12 17:26:47 PG Send: {"Type":"SASLInitialResponse","AuthMechanism":"SCRAM-SHA-256","Data":"n,,n=,r=c6ADgkCozOj+rwl5q8dQ6Uvt"} 2025/08/12 17:26:47 PG Recv: {"Type":"AuthenticationSASLContinue","Data":"r=c6ADgkCozOj+rwl5q8dQ6UvtRUFlK2NmNmNEQlVkTWpObDBJT0ZydlVOaDhwVHh3PT0=,s=6ETkffygiHPWEk2AMcAEfg==,i=4096"} 2025/08/12 17:26:47 PG Send: {"Type":"SASLResponse","Data":"c=biws,r=c6ADgkCozOj+rwl5q8dQ6UvtRUFlK2NmNmNEQlVkTWpObDBJT0ZydlVOaDhwVHh3PT0=,p=89mTEbKftnWwNQ2+pX1I1QY/fJU/Z8BiiFWg710P1NQ="} 2025/08/12 17:26:47 PG Recv: {"Type":"AuthenticationSASLFinal","Data":"e=Wrong password"} 2025/08/12 17:26:47 PG Send: {"Type":"StartupMessage","ProtocolVersion":196608,"Parameters":{"database":"postgres","user":"cli_login_postgres.[REDACTED]"}} 2025/08/12 17:26:47 PG Recv: {"Type":"AuthenticationSASL","AuthMechanisms":["SCRAM-SHA-256"]} 2025/08/12 17:26:47 PG Send: {"Type":"SASLInitialResponse","AuthMechanism":"SCRAM-SHA-256","Data":"n,,n=,r=CEp3+tbs0nOjCpjzJidJgcWr"} 2025/08/12 17:26:47 PG Recv: {"Type":"AuthenticationSASLContinue","Data":"r=CEp3+tbs0nOjCpjzJidJgcWrRUNmREZkZjZmNHJkZENTT3pjU2hPMmdJZmpTeGhRPT0=,s=6ETkffygiHPWEk2AMcAEfg==,i=4096"} 2025/08/12 17:26:47 PG Send: {"Type":"SASLResponse","Data":"c=biws,r=CEp3+tbs0nOjCpjzJidJgcWrRUNmREZkZjZmNHJkZENTT3pjU2hPMmdJZmpTeGhRPT0=,p=xLMg+1mwePGveK4bb3c7LUC/88OiLyPUBskTgqXiO3Y="} 2025/08/12 17:26:47 PG Recv: {"Type":"AuthenticationSASLFinal","Data":"e=Wrong password"} 2025/08/12 17:26:47 PG Send: {"Type":"StartupMessage","ProtocolVersion":196608,"Parameters":{"database":"postgres","user":"cli_login_postgres.[REDACTED]"}} 2025/08/12 17:26:47 PG Recv: {"Type":"AuthenticationSASL","AuthMechanisms":["SCRAM-SHA-256"]} 2025/08/12 17:26:47 PG Send: {"Type":"SASLInitialResponse","AuthMechanism":"SCRAM-SHA-256","Data":"n,,n=,r=GVNHbMi6IFJSD3rPhEOvkZfN"} 2025/08/12 17:26:47 PG Recv: {"Type":"AuthenticationSASLContinue","Data":"r=GVNHbMi6IFJSD3rPhEOvkZfNRUQ2NVdGMUYvV01KR1hlWUxaSFNWK0VISFhQSXl3PT0=,s=1gMYOxvFyCJuxFOu3ws7Tg==,i=4096"} 2025/08/12 17:26:47 PG Send: {"Type":"SASLResponse","Data":"c=biws,r=GVNHbMi6IFJSD3rPhEOvkZfNRUQ2NVdGMUYvV01KR1hlWUxaSFNWK0VISFhQSXl3PT0=,p=QAuVyI+YeX+ZT8c2W/voFOKhkjiIm0jQr57RlomQTUU="} 2025/08/12 17:26:47 PG Recv: {"Type":"AuthenticationSASLFinal","Data":"v=1b8jhWdJrIMphImtxGDukLHylVoTUIE0hl0AXz7OUQM="} 2025/08/12 17:26:47 PG Recv: {"Type":"AuthenticationOK"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParameterStatus","Name":"DateStyle","Value":"ISO, MDY"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParameterStatus","Name":"IntervalStyle","Value":"postgres"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParameterStatus","Name":"TimeZone","Value":"UTC"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParameterStatus","Name":"application_name","Value":"Supavisor"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParameterStatus","Name":"client_encoding","Value":"UTF8"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParameterStatus","Name":"default_transaction_read_only","Value":"off"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParameterStatus","Name":"in_hot_standby","Value":"off"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParameterStatus","Name":"integer_datetimes","Value":"on"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParameterStatus","Name":"is_superuser","Value":"off"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParameterStatus","Name":"server_encoding","Value":"UTF8"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParameterStatus","Name":"server_version","Value":"15.1 (Ubuntu 15.1-1.pgdg20.04+1)"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParameterStatus","Name":"session_authorization","Value":"cli_login_postgres"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParameterStatus","Name":"standard_conforming_strings","Value":"on"} 2025/08/12 17:26:47 PG Recv: {"Type":"BackendKeyData","ProcessID":3239000268,"SecretKey":1584122955} 2025/08/12 17:26:47 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"} 2025/08/12 17:26:47 PG Send: {"Type":"Query","String":"SET SESSION ROLE postgres"} 2025/08/12 17:26:47 PG Recv: {"Type":"CommandComplete","CommandTag":"SET"} 2025/08/12 17:26:47 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"} 2025/08/12 17:26:47 PG Send: {"Type":"Parse","Name":"lrupsc_1_0","Query":"SELECT name FROM storage.migrations ORDER BY id DESC LIMIT 1","ParameterOIDs":null} 2025/08/12 17:26:47 PG Send: {"Type":"Describe","ObjectType":"S","Name":"lrupsc_1_0"} 2025/08/12 17:26:47 PG Send: {"Type":"Sync"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParseComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParameterDescription","ParameterOIDs":[]} 2025/08/12 17:26:47 PG Recv: {"Type":"RowDescription","Fields":[{"Name":"name","TableOID":16582,"TableAttributeNumber":2,"DataTypeOID":1043,"DataTypeSize":-1,"TypeModifier":104,"Format":0}]} 2025/08/12 17:26:47 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"} 2025/08/12 17:26:47 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"lrupsc_1_0","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[0]} 2025/08/12 17:26:47 PG Send: {"Type":"Describe","ObjectType":"P","Name":""} 2025/08/12 17:26:47 PG Send: {"Type":"Execute","Portal":"","MaxRows":0} 2025/08/12 17:26:47 PG Send: {"Type":"Sync"} 2025/08/12 17:26:47 PG Recv: {"Type":"BindComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"RowDescription","Fields":[{"Name":"name","TableOID":16582,"TableAttributeNumber":2,"DataTypeOID":1043,"DataTypeSize":-1,"TypeModifier":104,"Format":0}]} 2025/08/12 17:26:47 PG Recv: {"Type":"DataRow","Values":[{"text":"custom-metadata"}]} 2025/08/12 17:26:47 PG Recv: {"Type":"CommandComplete","CommandTag":"SELECT 1"} 2025/08/12 17:26:47 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"} 2025/08/12 17:26:47 PG Send: {"Type":"Parse","Name":"","Query":"SET lock_timeout = '4s'","ParameterOIDs":null} 2025/08/12 17:26:47 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]} 2025/08/12 17:26:47 PG Send: {"Type":"Describe","ObjectType":"P","Name":""} 2025/08/12 17:26:47 PG Send: {"Type":"Execute","Portal":"","MaxRows":0} 2025/08/12 17:26:47 PG Send: {"Type":"Parse","Name":"","Query":"CREATE SCHEMA IF NOT EXISTS supabase_migrations","ParameterOIDs":null} 2025/08/12 17:26:47 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]} 2025/08/12 17:26:47 PG Send: {"Type":"Describe","ObjectType":"P","Name":""} 2025/08/12 17:26:47 PG Send: {"Type":"Execute","Portal":"","MaxRows":0} 2025/08/12 17:26:47 PG Send: {"Type":"Parse","Name":"","Query":"CREATE TABLE IF NOT EXISTS supabase_migrations.schema_migrations (version text NOT NULL PRIMARY KEY)","ParameterOIDs":null} 2025/08/12 17:26:47 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]} 2025/08/12 17:26:47 PG Send: {"Type":"Describe","ObjectType":"P","Name":""} 2025/08/12 17:26:47 PG Send: {"Type":"Execute","Portal":"","MaxRows":0} 2025/08/12 17:26:47 PG Send: {"Type":"Parse","Name":"","Query":"ALTER TABLE supabase_migrations.schema_migrations ADD COLUMN IF NOT EXISTS statements text[]","ParameterOIDs":null} 2025/08/12 17:26:47 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]} 2025/08/12 17:26:47 PG Send: {"Type":"Describe","ObjectType":"P","Name":""} 2025/08/12 17:26:47 PG Send: {"Type":"Execute","Portal":"","MaxRows":0} 2025/08/12 17:26:47 PG Send: {"Type":"Parse","Name":"","Query":"ALTER TABLE supabase_migrations.schema_migrations ADD COLUMN IF NOT EXISTS name text","ParameterOIDs":null} 2025/08/12 17:26:47 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]} 2025/08/12 17:26:47 PG Send: {"Type":"Describe","ObjectType":"P","Name":""} 2025/08/12 17:26:47 PG Send: {"Type":"Execute","Portal":"","MaxRows":0} 2025/08/12 17:26:47 PG Send: {"Type":"Sync"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParseComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"BindComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"NoData"} 2025/08/12 17:26:47 PG Recv: {"Type":"CommandComplete","CommandTag":"SET"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParseComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"BindComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"NoData"} 2025/08/12 17:26:47 PG Recv: {"Severity":"NOTICE","SeverityUnlocalized":"NOTICE","Code":"42P06","Message":"schema \"supabase_migrations\" already exists, skipping","Detail":"","Hint":"","Position":0,"InternalPosition":0,"InternalQuery":"","Where":"","SchemaName":"","TableName":"","ColumnName":"","DataTypeName":"","ConstraintName":"","File":"schemacmds.c","Line":128,"Routine":"CreateSchemaCommand","UnknownFields":null} 2025/08/12 17:26:47 PG Recv: {"Type":"CommandComplete","CommandTag":"CREATE SCHEMA"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParseComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"BindComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"NoData"} 2025/08/12 17:26:47 PG Recv: {"Severity":"NOTICE","SeverityUnlocalized":"NOTICE","Code":"42P07","Message":"relation \"schema_migrations\" already exists, skipping","Detail":"","Hint":"","Position":0,"InternalPosition":0,"InternalQuery":"","Where":"","SchemaName":"","TableName":"","ColumnName":"","DataTypeName":"","ConstraintName":"","File":"parse_utilcmd.c","Line":209,"Routine":"transformCreateStmt","UnknownFields":null} 2025/08/12 17:26:47 PG Recv: {"Type":"CommandComplete","CommandTag":"CREATE TABLE"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParseComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"BindComplete"} NOTICE (42P06): schema "supabase_migrations" already exists, skipping NOTICE (42P07): relation "schema_migrations" already exists, skipping 2025/08/12 17:26:47 PG Recv: {"Type":"NoData"} 2025/08/12 17:26:47 PG Recv: {"Severity":"NOTICE","SeverityUnlocalized":"NOTICE","Code":"42701","Message":"column \"statements\" of relation \"schema_migrations\" already exists, skipping","Detail":"","Hint":"","Position":0,"InternalPosition":0,"InternalQuery":"","Where":"","SchemaName":"","TableName":"","ColumnName":"","DataTypeName":"","ConstraintName":"","File":"tablecmds.c","Line":7127,"Routine":"check_for_column_name_collision","UnknownFields":null} NOTICE (42701): column "statements" of relation "schema_migrations" already exists, skipping 2025/08/12 17:26:47 PG Recv: {"Type":"CommandComplete","CommandTag":"ALTER TABLE"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParseComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"BindComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"NoData"} 2025/08/12 17:26:47 PG Recv: {"Severity":"NOTICE","SeverityUnlocalized":"NOTICE","Code":"42701","Message":"column \"name\" of relation \"schema_migrations\" already exists, skipping","Detail":"","Hint":"","Position":0,"InternalPosition":0,"InternalQuery":"","Where":"","SchemaName":"","TableName":"","ColumnName":"","DataTypeName":"","ConstraintName":"","File":"tablecmds.c","Line":7127,"Routine":"check_for_column_name_collision","UnknownFields":null} 2025/08/12 17:26:47 PG Recv: {"Type":"CommandComplete","CommandTag":"ALTER TABLE"} 2025/08/12 17:26:47 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"} NOTICE (42701): column "name" of relation "schema_migrations" already exists, skipping 2025/08/12 17:26:47 PG Send: {"Type":"Parse","Name":"","Query":"SET lock_timeout = '4s'","ParameterOIDs":null} 2025/08/12 17:26:47 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]} 2025/08/12 17:26:47 PG Send: {"Type":"Describe","ObjectType":"P","Name":""} 2025/08/12 17:26:47 PG Send: {"Type":"Execute","Portal":"","MaxRows":0} 2025/08/12 17:26:47 PG Send: {"Type":"Parse","Name":"","Query":"CREATE SCHEMA IF NOT EXISTS supabase_migrations","ParameterOIDs":null} 2025/08/12 17:26:47 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]} 2025/08/12 17:26:47 PG Send: {"Type":"Describe","ObjectType":"P","Name":""} 2025/08/12 17:26:47 PG Send: {"Type":"Execute","Portal":"","MaxRows":0} 2025/08/12 17:26:47 PG Send: {"Type":"Parse","Name":"","Query":"CREATE TABLE IF NOT EXISTS supabase_migrations.seed_files (path text NOT NULL PRIMARY KEY, hash text NOT NULL)","ParameterOIDs":null} 2025/08/12 17:26:47 PG Send: {"Type":"Bind","DestinationPortal":"","PreparedStatement":"","ParameterFormatCodes":null,"Parameters":[],"ResultFormatCodes":[]} 2025/08/12 17:26:47 PG Send: {"Type":"Describe","ObjectType":"P","Name":""} 2025/08/12 17:26:47 PG Send: {"Type":"Execute","Portal":"","MaxRows":0} 2025/08/12 17:26:47 PG Send: {"Type":"Sync"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParseComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"BindComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"NoData"} 2025/08/12 17:26:47 PG Recv: {"Type":"CommandComplete","CommandTag":"SET"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParseComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"BindComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"NoData"} 2025/08/12 17:26:47 PG Recv: {"Severity":"NOTICE","SeverityUnlocalized":"NOTICE","Code":"42P06","Message":"schema \"supabase_migrations\" already exists, skipping","Detail":"","Hint":"","Position":0,"InternalPosition":0,"InternalQuery":"","Where":"","SchemaName":"","TableName":"","ColumnName":"","DataTypeName":"","ConstraintName":"","File":"schemacmds.c","Line":128,"Routine":"CreateSchemaCommand","UnknownFields":null} 2025/08/12 17:26:47 PG Recv: {"Type":"CommandComplete","CommandTag":"CREATE SCHEMA"} 2025/08/12 17:26:47 PG Recv: {"Type":"ParseComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"BindComplete"} 2025/08/12 17:26:47 PG Recv: {"Type":"NoData"} 2025/08/12 17:26:47 PG Recv: {"Severity":"NOTICE","SeverityUnlocalized":"NOTICE","Code":"42P07","Message":"relation \"seed_files\" already exists, skipping","Detail":"","Hint":"","Position":0,"InternalPosition":0,"InternalQuery":"","Where":"","SchemaName":"","TableName":"","ColumnName":"","DataTypeName":"","ConstraintName":"","File":"parse_utilcmd.c","Line":209,"Routine":"transformCreateStmt","UnknownFields":null} 2025/08/12 17:26:47 PG Recv: {"Type":"CommandComplete","CommandTag":"CREATE TABLE"} 2025/08/12 17:26:47 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"} NOTICE (42P06): schema "supabase_migrations" already exists, skipping NOTICE (42P07): relation "seed_files" already exists, skipping 2025/08/12 17:26:47 PG Send: {"Type":"Terminate"} Finished supabase link.