For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Postman
PricingEnterprise
Contact SalesSign InSign Up for Free
    • Help
      • Overview
        • How to delete uploaded files in tests and requests?
        • I lost my environment variables after migrating from the Scratch Pad
        • I lost my requests after migrating from the Scratch Pad
        • No requests captured error while capturing Proxy
        • I am having trouble adding client certificates
        • I am seeing the error Request not found or Collection not found
        • Unable to load data
        • I'm having trouble with the Desktop Agent
        • My Monitor is not using variables
        • Postman is stuck on the load screen
        • I'm having trouble with the Interceptor
        • Troubleshooting steps for Postman desktop issues
        • I am having trouble running my monitor
        • Requests to my mock servers aren't returning the expected response
        • I can't see my collections list
Postman API Platform

Product

  • Postman Overview
  • Enterprise
  • Spec Hub
  • Flows
  • Agent Mode
  • API Catalog
  • Fern
  • Postman CLI
  • Integrations
  • Workspaces
  • Plans and pricing

API Network

  • App Security
  • Artificial Intelligence
  • Communication
  • Data Analytics
  • Database
  • Developer Productivity
  • DevOps
  • Ecommerce
  • eSignature
  • Financial Services
  • Payments
  • Travel

Resources

  • Postman Docs
  • Academy
  • Community
  • Templates
  • Intergalactic
  • Videos
  • MCP Servers

Legal and Security

  • Legal Terms Hub
  • Terms of Service
  • Postman Product Terms
  • Security
  • Website Terms of Use

Company

  • About
  • Careers and culture
  • Contact us
  • Partner program
  • Customer stories
  • Student programs
  • Press and media
Twitter iconLinkedIn iconGithub iconYouTube iconInstagram iconDiscord icon
Download Postman
Privacy Policy

© 2026 Postman, Inc.

On this page
  • You are experiencing one of the following issues
  • How to unblock yourself
  • mockRequestNotFoundError
  • invalidCredentialsError
  • Still need help?
Resolve issuesPostman app

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

||View as Markdown|
Was this page helpful?
Previous

I am having trouble running my monitor

Next

I can't see my collections list

Built with

You are experiencing one of the following issues

  • I am receiving the error mockRequestNotFoundError .
  • I am receiving the error invalidCredentialsError .

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.

  • Make sure you have properly generated a Postman API key.
  • Make sure you have properly configured the request header .

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