"Command 'start' can't be executed for deployment

Dear colleagues,

I am trying to start a lifetime deploy to the production environment using the lifetime REST API: /lifetimeapi/rest/v2/deployments/{DeploymentKey}/{Command}/

When entering the DeploymentKey and command I keep getting this error: "Command 'start' can't be executed for deployment. "StatusCode": 400

The Deployment Plan is created and saved in LifeTime. Manually I can deploy the plan then to production. But automatically via REST it gives me an error. I have tried many things already with no results. Anyone who can help me out?

Thanks and best regards,

Gianni Nicolaas 

Solution

For Future References:

Make sure you create a version also for the module(s) and the deploy will start!


Solution