Running monitor reports serverError when monitor completes fine

My question: I am calling a postman monitor as part of our deployment process for testing. I use curl to call the monitor with:
curl --max-time 900 -X POST -H "X-API-KEY:${POSTMAN_KEY}" https://api.getpostman.com/monitors/${POSTMAN_MONITOR}/run/ | jq '.'

This works for kicking off the monitor. However, I regularly (but not always) get back a response of:
{
“error”: {
“name”: “serverError”,
“message”: “Something went wrong with the server.”
}
}

When I log into postman and look, the entire monitor ran without any errors in about 110 seconds.

Details (like screenshots):

I’ve already tried: Adding timeouts to curl.

1 Like