3 hours ago
My Flask service (artzencapital-admin-production) has failed to build on every deployment since [today's date], including brand-new commits and a manual redeploy. The build fails at the "install mise packages: python" step with:
Build Failed: build daemon returned an error < failed to solve: secret ID missing for "" environment variable >
Railway's own automated diagnosis on the deployment confirms: "This deployment failed due to an internal build error, not an issue with your code."
I've tried:
- Redeploying the same commit
- Pushing a brand new commit
- Setting RAILPACK_PYTHON_VERSION=3.12 and NO_CACHE=1 as environment variables
Same error every time. Please advise.
1 Replies
2 hours ago
Your build logs show the error secret ID missing for "" environment variable, which is caused by one or more environment variables whose names contain a leading space. Your service's variables (ADMIN_PASSWORD, RAILPACK_PYTHON_VERSION, SECRET_KEY) all have a space at the start of their name. Remove and re-add each variable in the service's Variables tab, making sure the name has no leading or trailing whitespace, then redeploy.
Status changed to Awaiting User Response Railway • about 2 hours ago