# \*\*Error: getaddrinfo ENOTFOUND {{host}}\*\*

**URL:** <https://community.postman.com/t/error-getaddrinfo-enotfound-host/13794>\
**Category:** Help Hub\
**Created:** [July 1, 2020, 12:25am UTC](https://community.postman.com/t/error-getaddrinfo-enotfound-host/13794 "2020-07-01T00:25:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maneabhishek](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@maneabhishek](https://community.postman.com/u/maneabhishek)\
**Post date:** [July 1, 2020, 12:25am UTC](https://community.postman.com/t/error-getaddrinfo-enotfound-host/13794/1 "2020-07-01T00:25:38Z")

</div>

**Error: getaddrinfo ENOTFOUND {{host}}**

Hi @SabriH ,

I am getting exactly same error for below command

POST : http://{{host}}/api/v1/oauth/token.json

I am not able to find variable {{HOST}}, which I didn’t define.

These are HEALTHOS API.

Please respond or suggest something.

Thanks

---

<div class="post-metadata">

**Author:** ![SabriH](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@SabriH](https://community.postman.com/u/SabriH)\
**Post date:** [July 6, 2020, 7:32pm UTC](https://community.postman.com/t/error-getaddrinfo-enotfound-host/13794/2 "2020-07-06T19:32:30Z")

</div>

Hi @maneabhishek,

There isn’t much information to go on here, but I found this: [https://explore.postman.com/api/74/healthos](https://explore.postman.com/api/74/healthos) is this the one you are referring to? I tried to import the collection and also saw this as well:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/1/b/1be168317f85e1c61efba280586be929109920dd.png)

If it’s red it means the variable is unresolved so, generally, either they’d include an environment for you to import ( which doesn’t seem to be the case here ) or expect you to define a variable, in this case, **host** , with the appropriate domain or host for the API.

According to their documentation here: [HealthOS](https://documenter.getpostman.com/view/3967924/RW1Yq1oQ?version=latest#46bc8a1a-a558-c119-c212-7bbcec842b0f) they expect you to create an App before getting started but it looks like the link they included is broken, so perhaps they haven’t updated their docs recently.

For more information about the syntax, and understanding variables, the following documentation should help: [https://learning.postman.com/docs/postman/variables-and-environments/variables/#understanding-variables](https://learning.postman.com/docs/postman/variables-and-environments/variables/#understanding-variables)
