Skip to content

[Discord] Failed to Attach MotherDuck: Request Not Authenticated #338

@TianyuZhang1214

Description

@TianyuZhang1214

I'm look for a solution to attach MotherDuck from MyDuck Server, I find out that we can use ATTACH command to attach MotherDuck database with a token https://motherduck.com/docs/key-tasks/authenticating-and-connecting-to-motherduck/authenticating-to-motherduck/

I'm trying to attach with the same pattern by running this command in MyDuck Server ( connecting through PostgreSQL protocol by psql ) but it's not work: ATTACH 'md:your_database_name?motherduck_token=your_access_token';
It returns error: ERROR: fallback statement execution failed: Invalid Error: Request failed: Your request is not authenticated. Please check your MotherDuck token. (Jwt is not in the form of Header.Payload.Signature with two dots and 3 sections, request id: '81941733-0e67-40be-9f0c-607fc9508893') (errno 1105) (sqlstate HY000)

I'm wondering if this is the right solution to do it. Thank you in advance !!

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions