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 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.

Still need help?

Submit a support request and include the following information:

  • A screenshot of your mock server settings.
  • Your mock's URL and Mock ID.
  • A screenshot of the impacted example/request and how they are configured.
  • Steps you've tried to resolve the issue.


Have more questions? Submit a request