Error from Octopus server (HTTP 400): There was a problem with your request

Hi Guys,

I’m using the TeamCity Plugin and created a ‘OctopusDeploy: Create release’ build step using Octopus version '3.0+'
When I try to run my build, it fails at this point.

[16:51:46][Octopus Deploy] Creating release…
[16:51:46][Octopus Deploy] Release 1.0.30 created successfully!
[16:51:46][Octopus Deploy] ##teamcity[setParameter name=‘octo.releaseNumber’ value=‘1.0.30’]
[16:51:46][Octopus Deploy] ##vso[task.addattachment type=Distributedtask.Core.Summary;name=Octopus Deploy;]C:\TeamCity\buildAgent\temp\buildTmp\octo-temp\3.0\88772124-f2c4-4bac-b222-fa5120ddf50c.md
[16:51:46][Octopus Deploy] Error from Octopus server (HTTP 400): There was a problem with your request.
[16:51:46][Octopus Deploy]
[16:51:46][Octopus Deploy] - The deployment process should have at least one step.
[16:51:46][Octopus Deploy] Once you have corrected these problems you can try again.
[16:51:46][Octopus Deploy] If the problem is related to a variable you will need to update the variables for this release or recreate the release for the changes to take effect.
[16:51:46][Octopus Deploy] If the problem is related to the deployment process you will need to create a new release for the changes to take effect.
[16:51:46][Octopus Deploy]
[16:51:46][Octopus Deploy] Exit code: -7
[16:51:46][Octopus Deploy] Octo.exe exit code: -7
[16:51:46][Step 4/5] Unable to create or deploy release. Please check the build log for details on the error.
[16:51:46][Step 4/5] Step OctopusDeploy: Create Dev Release (OctopusDeploy: Create release) failed

Please can anyone advise on this?

Thanks.

Hi,

Thanks for reaching out! The error says:

‘the deployment process should have at least one step’

This means that you tried to start a deployment without having a step in your deployment process scoped to the environment you were trying to deploy. Is this possible?

If you are not sure. Send us a screenshot of your deployment process along with your build log so we can see how’s your setup.

Regards,
Dalmiro