Skip to main content

Requests to my mock servers aren't returning the expected response

You are experiencing one of the following issues

How to unblock yourself

mockRequestNotFoundError

Two possible reasons might cause this error:

  • The HTTP method is incorrect. Ensure the HTTP method matches the saved example for the response to be returned.
  • The path URL is incorrect. Make sure the path in the request URL matches with one of the saved examples for the mock server to match the request. 

Note: Learn more about the matching algorithm of Mocks in the Learning Center: Understanding example matching

invalidCredentialsError

This error means that your mock is private and requires a Postman API key to be passed in the request header named x-api-key.

 

If you're still experiencing issues after trying the options above, please submit a support request so we can investigate further. Please make sure to indicate exactly which steps you’ve already tried so that we can better help you.



Have more questions? Submit a request