# Unable to create Mock Server

**URL:** <https://community.postman.com/t/unable-to-create-mock-server/8167>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [October 3, 2019, 8:21pm UTC](https://community.postman.com/t/unable-to-create-mock-server/8167 "2019-10-03T20:21:03Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcelo.jaeggi](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@marcelo.jaeggi](https://community.postman.com/u/marcelo.jaeggi)\
**Post date:** [October 3, 2019, 8:21pm UTC](https://community.postman.com/t/unable-to-create-mock-server/8167/1 "2019-10-03T20:21:03Z")

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

Hey,  
I’m trying to create a mock server using Postman App on Mac and I’m getting the following error.

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/2/e/2e4ac5d105972efc49d80009d3a0cf7b3dd60e87.png)

I have a collection created with examples in place.

What I’m missing?

---

<div class="post-metadata">

**Author:** ![Aman\_Dhembla](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@Aman\_Dhembla](https://community.postman.com/u/Aman_Dhembla)\
**Post date:** [October 4, 2019, 11:32am UTC](https://community.postman.com/t/unable-to-create-mock-server/8167/2 "2019-10-04T11:32:20Z")

</div>

Hello @marcelo.jaeggi, Looks like Postman is having trouble connecting to it’s servers. Can you please check your internet connection.  
Let us know if you need any more help!

---

<div class="post-metadata">

**Author:** ![marcelo.jaeggi](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@marcelo.jaeggi](https://community.postman.com/u/marcelo.jaeggi)\
**Post date:** [October 4, 2019, 1:36pm UTC](https://community.postman.com/t/unable-to-create-mock-server/8167/3 "2019-10-04T13:36:27Z")

</div>

Hey @Aman_Dhembla,  
I have a good internet connection. I hitting services outside my network from Postman.

---

<div class="post-metadata">

**Author:** ![Aman\_Dhembla](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@Aman\_Dhembla](https://community.postman.com/u/Aman_Dhembla)\
**Post date:** [October 4, 2019, 1:50pm UTC](https://community.postman.com/t/unable-to-create-mock-server/8167/4 "2019-10-04T13:50:40Z")

</div>

I tried reproducing this but was not able to. Can you share the steps you did to get this state?

---

<div class="post-metadata">

**Author:** ![marcelo.jaeggi](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@marcelo.jaeggi](https://community.postman.com/u/marcelo.jaeggi)\
**Post date:** [October 4, 2019, 2:05pm UTC](https://community.postman.com/t/unable-to-create-mock-server/8167/5 "2019-10-04T14:05:20Z")

</div>

I just go to any Collection options and select `Mock Collection` and I get the error

---

<div class="post-metadata">

**Author:** ![pratik](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/pratik/32/224_2.png) [@pratik](https://community.postman.com/u/pratik)\
**Post date:** [October 4, 2019, 4:47pm UTC](https://community.postman.com/t/unable-to-create-mock-server/8167/6 "2019-10-04T16:47:11Z")

</div>

@marcelo.jaeggi- Can you try creating the mock using the web dashboard? Click on `View in Web` which will open the collection in your web browser and then go to the `Mocks` tab.

 ![33%20PM](https://us1.discourse-cdn.com/getpostman/original/3X/b/4/b45438c019fe814b2b0358be6c7360180b7ea251.png)

---

<div class="post-metadata">

**Author:** ![marcelo.jaeggi](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@marcelo.jaeggi](https://community.postman.com/u/marcelo.jaeggi)\
**Post date:** [October 4, 2019, 5:01pm UTC](https://community.postman.com/t/unable-to-create-mock-server/8167/7 "2019-10-04T17:01:14Z")

</div>

Hey @pratik  
I don’t have that option available.  
 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/f/4/f48edbdd4229a1d7e4f88e2afd391f6984ff0321.png)

---

<div class="post-metadata">

**Author:** ![claire](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/claire/32/99_2.png) [@claire](https://community.postman.com/u/claire)\
**Post date:** [October 4, 2019, 5:54pm UTC](https://community.postman.com/t/unable-to-create-mock-server/8167/8 "2019-10-04T17:54:17Z")

</div>

Hey @marcelo.jaeggi! Have you been able to use mocks in the past? Also, what version of the app are you on and when did you most recently download or update it?

---

<div class="post-metadata">

**Author:** ![singhsivcan](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/singhsivcan/32/1595_2.png) [@singhsivcan](https://community.postman.com/u/singhsivcan)\
**Post date:** [October 4, 2019, 9:17pm UTC](https://community.postman.com/t/unable-to-create-mock-server/8167/9 "2019-10-04T21:17:33Z")

</div>

Hi @marcelo.jaeggi, looks like you haven’t signed in/created an account with Postman.  
The `View in web` option would come when you create an account and then you’ll be able to view this collection in the web dashboard after it get’s synced.  
And features like Mocks, Monitors, collaboration features etc. are only available once you create an account.

If you’re already signed in, then this looks like a bug.  
Let us know if you are still experiencing this issue even after signing in the app.

---

<div class="post-metadata">

**Author:** ![marcelo.jaeggi](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@marcelo.jaeggi](https://community.postman.com/u/marcelo.jaeggi)\
**Post date:** [October 7, 2019, 9:53am UTC](https://community.postman.com/t/unable-to-create-mock-server/8167/10 "2019-10-07T09:53:21Z")

</div>

Hey guys,

@claire I’m using version 7.8.0 on Mac. I just downloaded and installed again.

@singhsivcan I do have an account created on Postman.  
If I go to Postman dashboard I can log in but I can’t see any collection that I created in the desktop app.  
This is how I see the sync icon:  
 ![image](https://us1.discourse-cdn.com/getpostman/original/2X/a/adcdadc5dfced8bd45a8e70554d5283353b8828e.png)

---

<div class="post-metadata">

**Author:** ![singhsivcan](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/singhsivcan/32/1595_2.png) [@singhsivcan](https://community.postman.com/u/singhsivcan)\
**Post date:** [October 7, 2019, 10:32am UTC](https://community.postman.com/t/unable-to-create-mock-server/8167/11 "2019-10-07T10:32:04Z")

</div>

Looks like the app is unable to connect to sync, by any chance are you using any kind of proxy/URL whitelisting mechanism that might be preventing the app from connecting to sync?

If the above checks don’t help, can you write to us on [help@getpostman.com](mailto:help@getpostman.com) from your registered email regarding this issue?
