Octo.exe returns 403 error but deployment is successful

I am trying to use Octo.exe to deploy a release at the end of a build. The deployment works successfully, however Octo.exe returns a permissions error and says it fails.

Error from Octopus server (HTTP 403): You do not have permission to perform this action. Please contact your Octopus administrator.
Exit code: -7

My service account is setup with all the permissions listed here: http://help.octopusdeploy.com/discussions/questions/2464-minimum-permissions-for-a-service-account-role. I also added ReleaseEdit and TaskLogView in hopes that one of those was needed. This works without error for an administrator account.

Does anyone have any ideas as to what permission is needed for this to return without error?


Thanks for getting in touch. There is one extra permission you could try which is TaskView.
If this does not stop the error could you please attach the full output from octo.exe to see if we can trace it a bit better.


That was the permission we needed. Thank you for your help.