{ "ErrorMessage": "There was a problem with your request.", "Errors": [ "Only tentacles and ssh machines can be workers." ], "ParsedHelpLinks": [] }
I’ve tried a number of different tentacles but all return this error (and each one is definitely a tentacle, one was also a worker, i tried removing it manually and adding it via this call, but it didnt work so I had to manually re-add it)
I’m not sure it would have helped in this case but I want to make sure you are aware of our Swagger UI for the Octopus API? Unfortunately we don’t have any automated way of marking fields as required or optional at this point in time, although this is something that we are hoping to be able to implement in future.
Sorry I don’t have a better answer for you at this point,
Hi Alex. Yes I was using the swagger UI to build my requests, it was pure trial and error that got me into a working state with it. The optional/mandatory tags would be incredibly helpful, as im sure that other people will run into these kinds of issues for the REST calls which are not otherwise documented.