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.
When attempting to set a connection string for a Postgres database with
pnpm void set-urlin the format ofpostgresql://{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.