Skip to content

void db set-url fails with 502 error #40

@deliblethink

Description

@deliblethink
pnpm 11.1.2
void 0.8.1

When attempting to set a connection string for a Postgres database with pnpm void set-url in the format of postgresql://{USER}:{PASSWORD}@{HOST}:{PORT}/{DATABASE}, the operation fails with the output:

Failed to update database URL: 502 {"error":"Failed to provision Hyperdrive","detail":"Invalid Hyperdrive config: name: name contains invalid characters, must only contain lowercase alphanumeric characters and hyphens (matching ^[a-z0-9]([a-z0-9-]{0,1000}[a-z0-9-]{0,1000}[a-z0-9-]{0,45}[a-z0-9])?$)."}

I've tried with connection strings from two different database services, DigitalOcean's Managed Databases and Tiger Data's Tiger Cloud.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions