BUG: Environment variables with spaces break BuildKit + UI unresponsive
williamrichardson743
HOBBYOP

a month ago

Issue: Environment variable named YOUTUBE API (with space) breaks builds with "secret YOUTUBE not found" error during BuildKit stage.

Platform Problems:

  • BuildKit cannot resolve secrets with spaces in variable names
  • Railway UI three-dots menu unresponsive (cannot delete variables)
  • No variable name validation (should reject spaces)

Failed Deployments:

  • 26f170ba-d339-4130-8bfa-c003883ffb67 (04:15:57 UTC)
  • 4173f362-32a2-48f8-8283-8605594c8179 (04:21:24 UTC)
  • ff9a0115-d1fc-4ece-b420-f4bd1ea52e29 (04:25:35 UTC)

Project:01d9c0dd-954d-4794-b214-e4ea1470452a

Service:web

Request: Variable validation fix + UI fix + credit refund for wasted builds

Solved

1 Replies

Status changed to Awaiting Railway Response Railway about 1 month ago


a month ago

Variable names with spaces aren't supported, and this isn't something we're planning to fix. BuildKit's secret resolution splits on whitespace, which is why the build fails with secret YOUTUBE not found.

Rename the variable to YOUTUBE_API (alphanumeric and underscores only) and the deploy will go through.


Status changed to Awaiting User Response Railway about 1 month ago


Railway
BOT

a month ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway about 1 month ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...