Mock server 'Something went wrong' error

Archived topic — some details may be out of date.
Mock servers built from saved collection examples are still supported. Postman now also has code-based mocks: JavaScript request handlers plus a config.yaml, stored as files in your Git repository, which you can run locally or deploy. Create one in the app, or use the Postman CLI to generate one from an OpenAPI spec, collection or dataset (postman mock generate) and run it (postman mock run). See About mocks and Create a mock.
Working with an AI coding agent? The Postman plugin can build and run mocks for you.
For current help, see the Postman docs, try the free Postman tools (no account needed), or join us on Discord.

I’ve been getting intermittent errors on creating mock servers with the postman app. Some additional details:

  • macOS mojave 10.14.5
  • postman app Version 7.1.0 (7.1.0)

It worked the first time i tried this tutorial, but then following the same steps again gives this error.

I’ve tried:

  • Clearing out all old mock, requests, responses et al
  • Upgrading to latest postman app (Version 7.1.0 (7.1.0))

I had the same trouble, but I tried to set up the server mock from the button “New” on the top left side and works without problems. Before I tried to do it from the 3 dots of the collection and not work.
I hope can help you.

Jhonny