Failed deploying bundle via gitlab - Request failed for POST

samsonite
New Contributor

I'm encountering an issue in my .gitlab-ci.yml file when attempting to execute databricks bundle deploy -t prod. The error message I receive is:

 

Error: Request failed for POST <path>/state/deploy.lock

Interestingly, when I run the same command locally for the prod environment, it works without any issues. Additionally, deploying from GitLab to staging works as expected.

I've tried using --force-lock as well, but unfortunately, it hasn't resolved the issue.

Could someone advise on how to further debug the cause of this failure?