# Mock server 'Something went wrong' error

**URL:** <https://community.postman.com/t/mock-server-something-went-wrong-error/5474>\
**Category:** Help Hub\
**Tags:** mockservers\
**Created:** [May 16, 2019, 11:56pm UTC](https://community.postman.com/t/mock-server-something-went-wrong-error/5474 "2019-05-16T23:56:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![harsh.parekh1](https://avatars.discourse-cdn.com/v4/letter/h/b38774/32.png) [@harsh.parekh1](https://community.postman.com/u/harsh.parekh1)\
**Post date:** [May 16, 2019, 11:56pm UTC](https://community.postman.com/t/mock-server-something-went-wrong-error/5474/1 "2019-05-16T23:56:38Z")

</div>

> **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](https://learning.postman.com/docs/design-apis/mock-apis/mocks/overview) and [Create a mock](https://learning.postman.com/docs/design-apis/mock-apis/mocks/create-a-mock).  
> Working with an AI coding agent? The [Postman plugin](https://github.com/postmanlabs/postman-plugin) can build and run mocks for you.  
> For current help, see the [Postman docs](https://learning.postman.com/docs/), try the free [Postman tools](https://www.postman.com/tools) (no account needed), or join us on [Discord](https://discord.gg/58aNNsRBGR).

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](https://learning.getpostman.com/docs/postman/mock_servers/mocking_with_examples/), 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))

 ![49%20PM](https://us1.discourse-cdn.com/getpostman/original/3X/7/2/727c569f190c07d5b3c6473832739660e52c6d6c.png)

---

<div class="post-metadata">

**Author:** ![jhonnyGo](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jhonnygo/32/4202_2.png) [@jhonnyGo](https://community.postman.com/u/jhonnyGo)\
**Post date:** [April 10, 2020, 6:35pm UTC](https://community.postman.com/t/mock-server-something-went-wrong-error/5474/3 "2020-04-10T18:35:09Z")

</div>

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
