# Does postman mock service return a non-200 response if we cross the usage limits?

**URL:** <https://community.postman.com/t/does-postman-mock-service-return-a-non-200-response-if-we-cross-the-usage-limits/5779>\
**Category:** Help Hub\
**Tags:** mocks, license\
**Created:** [June 5, 2019, 8:57pm UTC](https://community.postman.com/t/does-postman-mock-service-return-a-non-200-response-if-we-cross-the-usage-limits/5779 "2019-06-05T20:57:51Z")\
**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:** [June 5, 2019, 8:57pm UTC](https://community.postman.com/t/does-postman-mock-service-return-a-non-200-response-if-we-cross-the-usage-limits/5779/1 "2019-06-05T20:57:51Z")

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

We’re using a postman pro license with a cap on the number of calls we can make across the mock services setup across our team.

Will the mock service return a non-200 error response when the cap limits are exceeded? Trying to identify a way for our UI devs to know that they’re not getting a valid response because the team has exceeded usage limits set by postman license.

---

<div class="post-metadata">

**Author:** ![Chris](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/chris/32/6637_2.png) [@Chris](https://community.postman.com/u/Chris)\
**Post date:** [June 5, 2019, 10:16pm UTC](https://community.postman.com/t/does-postman-mock-service-return-a-non-200-response-if-we-cross-the-usage-limits/5779/2 "2019-06-05T22:16:15Z")

</div>

You should see a `429` HTTP response with a body like the one below.

```auto
{"error":
    {"name":
        "usageLimitError","message":"Usage limit reached. Contact your team admin."
    }
}

```
