I attempted to create a patch using the API endpoint. The request & response are here: https://gist.github.com/p-mongo/e718f20715c8c8ff2479beb76656dd6f
I received the following response:
What this appears to say is that patch command execution failed on the server side.
This error message is missing the reason why patch command failed. I imagine this information is provided in standard error stream of the patch command. As a user of Evergreen API I would like Evergreen to capture the error information and return it in the API response, so that I can efficiently diagnose why requests are failing.
This error response is also mixing the status codes - the HTTP status is 500 as shown above but the message claims to have status 400.