# String path variables in a mock

**URL:** <https://community.postman.com/t/string-path-variables-in-a-mock/2121>\
**Category:** Help Hub\
**Tags:** mocks\
**Created:** [July 20, 2018, 6:06pm UTC](https://community.postman.com/t/string-path-variables-in-a-mock/2121 "2018-07-20T18:06:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aidanewen](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@aidanewen](https://community.postman.com/u/aidanewen)\
**Post date:** [July 20, 2018, 6:06pm UTC](https://community.postman.com/t/string-path-variables-in-a-mock/2121/1 "2018-07-20T18:06:34Z")

</div>

We’re just trying out postman. Someone else on the team has sent me a collection, so I can see his api documentation, and I’m trying to create a mock out of it so I can build against it.

The call is a simple GET {{ server }}/accounts/{{account\_id}}. And it works fine if I use an integer as the account\_id (I get the example back). When I use a hexidecimal string as the account\_id I get a mockRequestNotFoundError.

How do I fix this - I’ve looked through the json for the collection and poked around the app looking for a way to specify the format of this parameter, but I can’t find anything.

How to I get my mock to accept a string path variable?
