Unable to create the mock

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.

Hi, any news on mock servers?
I’m getting this error: “Unable to create the mock”

Thanks!

Does this happen only for a specific collection?

Can you try creating a mock on a different collection and see if it throws the same error?

Are you behind any firewall or corporate proxy?

Hello!

Wait!!, By the time I was writing the replay the mock URL appeared!

I’ll give it a try :smiley:

Thanks!!