Skip to content

401 Unauthorized when trying to POST to http://127.0.0.1:54321/rest/v1/site_pages #3266

@steelliberty

Description

@steelliberty

INFO:httpx:HTTP Request: POST https://api.openai.com/v1/chat/completions "HTTP/1.1 200 OK"
INFO:httpx:HTTP Request: POST https://api.openai.com/v1/embeddings "HTTP/1.1 200 OK"
INFO:httpx:HTTP Request: POST http://127.0.0.1:54321/rest/v1/site_pages "HTTP/1.1 401 Unauthorized"
Error inserting chunk: {'code': 'PGRST301', 'details': None, 'hint': None, 'message': 'JWSError (JSONDecodeError "Not valid base64url")'}
INFO:httpx:HTTP Request: POST http://127.0.0.1:54321/rest/v1/site_pages "HTTP/1.1 401 Unauthorized"

i am using 👍 SUPABASE_URL=http://localhost:54321/rest/v1/

On this page it is called the service_role secret.

SUPABASE_SERVICE_KEY=key_provided_at_supabase_start

Had to start supabase with -x vector because the Vector container is too old will not start.

We do not have the post content -- so if it's not present that would give the Error but 401 code seems like something else...

Thanks to anyone giving me a clue --

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions