Deployment failure due to invalid Environment Variable name

Issue

  • The deployment process failed with the following error message:
Some error has happened during the build. Try again. [{"message":"Bad Request","status":400,"errors":[{"reason":"deployError","context":{"message":"Invalid value: XXX, a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit. Service creation failed for the undefined service. Halting further dependent deployments.","deploymentUid":"chkirxocarraokxvaw"}}]}].

Environment

  • Liferay Experience Cloud Self-Managed (LXC SM)

Resolution

  • The error message indicates that there is an issue with an environment variable having invalid characters. To resolve this issue, fix the problematic environment variable and reattempt the deployment.

Additional Information

 

 

Was this article helpful?
0 out of 0 found this helpful