I have a program that uses the REST API to start a pipeline, gets the pipeline build number from the response, and then polls the running pipeline for successful completion by calling this endpoint every 2 seconds:
For example:
This generally works, but has been intermittently returning a 500 response code with the body:
{"type": "error", "error": {"message": "workspace"}}
I am going to implement re-try logic, but this seems to be happening more frequently, is there anything I'm doing wrong or could do to improve the reliability of this?