SupabaseS
Supabase12mo ago
j00cy

can't use supabase anonymous auth

hi! trying to setup anon auth in my expo app but getting this error when logging in:
json 
[
  {
    "host": "db-vdkcsknhujwxswztupqi",
    "component": "api",
    "_SYSTEMD_CGROUP": null,
    "request_id": "8ffd5d564790c440-EWR",
    "mail_from": null,
    "message": null,
    "_SOURCE_REALTIME_TIMESTAMP": null,
    "PRIORITY": null,
    "_AUDIT_LOGINUID": null,
    "panic": null,
    "metering": null,
    "UNIT": null,
    "event": null,
    "SYSLOG_FACILITY": null,
    "msg": "500: Database error creating anonymous user",
    "mail_type": null,
    "EXECUTABLE": null,
    "user_id": null,
    "_CMDLINE": null,
    "action": null,
    "auth_event": [],
    "level": "error",
    "_PID": null,
    "path": "/signup",
    "duration": null,
    "_COMM": null,
    "header": null,
    "_MACHINE_ID": null,
    "login_method": null,
    "_STREAM_ID": null,
    "source_type": null,
    "_LINE_BREAK": null,
    "_EXE": null,
    "_AUDIT_SESSION": null,
    "_TRANSPORT": null,
    "x_forwarded_proto": null,
    "time": null,
    "mail_to": null,
    "_GID": null,
    "stack": null,
    "x_forwarded_host": null,
    "status": null,
    "_UID": null,
    "method": "POST",
    "CODE_FILE": null,
    "remote_addr": "74.71.201.193",
    "provider": null,
    "_SYSTEMD_UNIT": null,
    "issuer": null,
    "error": "ERROR: constraint \"mfa_amr_claims_session_id_authentication_method_pkey\" for table \"mfa_amr_claims\" does not exist (SQLSTATE 42704)",
    "client_id": null,
    "MESSAGE_ID": null,
    "referer": "http://localhost:3000",
    "_SYSTEMD_INVOCATION_ID": null,
    "CODE_FUNC": null,
    "_BOOT_ID": null,
    "INVOCATION_ID": null,
    "__MONOTONIC_TIMESTAMP": null,
    "timestamp": null,
    "__REALTIME_TIMESTAMP": null,
    "CODE_LINE": null,
    "_SYSTEMD_SLICE": null,
    "instance_id": null,
    "args": [],
    "SYSLOG_IDENTIFIER": null,
    "metadata": [],
    "_CAP_EFFECTIVE": null,
    "factor_id": null,
    "_SELINUX_CONTEXT": null,
    "project": null
  }
]


no clue what to do here, tried updating the schema with no luck.
Was this page helpful?