Monitor calls failing

I have a simple collection with 2 POST calls that just check the response is 200. They work fine on their own and also work from the collection runner. However when I create a monitor from the collection both calls are returning error 400.

We need to know what the requests in the collection are doing.

How is the body created, do you have any scripts, etc.

You should also be able to check that request to see what was sent, so you can’t work out what is missing with the request.

A 400 bad request usually means that the request was sent incorrectly.

Therefore something in the request is missing.

Typical issues are undefined variables caused by the fact that the monitors are run from the Postman Cloud. If your request relies on something local that the monitor can’t access, then its going to cause issues.

Console log important variables, so you can troubleshoot.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.