# Calls to Auth0 api management client are throwing HttpRequestExceptions

**URL:** <https://community.auth0.com/t/calls-to-auth0-api-management-client-are-throwing-httprequestexceptions/92891>\
**Category:** Get Help\
**Created:** [October 21, 2022, 4:52pm UTC](https://community.auth0.com/t/calls-to-auth0-api-management-client-are-throwing-httprequestexceptions/92891 "2022-10-21T16:52:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fernandezchris23\_aut](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fernandezchris23_aut/32/12949_2.png) [@fernandezchris23\_aut](https://community.auth0.com/u/fernandezchris23_aut)\
**Post date:** [October 21, 2022, 4:52pm UTC](https://community.auth0.com/t/calls-to-auth0-api-management-client-are-throwing-httprequestexceptions/92891/1 "2022-10-21T16:52:28Z")

</div>

I set up Auth0 for my identity on a personal project while I play around with it and see how it functions. I managed to get everything working and took a break for a couple weeks to take care of some other stuff and now, any calls I make to the management api throw HttpRequestExceptions. The message specifically says: “No such host is known. (https:443)”. I didn’t change any of my Auth0 code and I’m still working on the same computer, in the same location, and I am connected to the same network. Can anyone help me to understand what is going on?

I’ve seen several people talk about HttpClients, however I don’t have any explicitly written in my project and it worked for a little while when I had first added Auth0 to my project, so I don’t understand what that would change. Firewall issues was another thing I read about, but I’ve been developing on the same computer and haven’t had this issue before.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 27, 2022, 11:16pm UTC](https://community.auth0.com/t/calls-to-auth0-api-management-client-are-throwing-httprequestexceptions/92891/3 "2022-10-27T23:16:39Z")

</div>

Hi @fernandezchris23_aut,

Welcome to the Auth0 Community!

It appears this error occurs when you application can’t do a DNS lookup of the host.

Did you see the solution outlined here: [“No such host is known” error in Visual Studio](https://techcommunity.microsoft.com/t5/iis-support-blog/no-such-host-is-known-error-in-visual-studio/ba-p/334369)

---

<div class="post-metadata">

**Author:** ![fernandezchris23\_aut](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fernandezchris23_aut/32/12949_2.png) [@fernandezchris23\_aut](https://community.auth0.com/u/fernandezchris23_aut)\
**Post date:** [November 3, 2022, 6:15pm UTC](https://community.auth0.com/t/calls-to-auth0-api-management-client-are-throwing-httprequestexceptions/92891/4 "2022-11-03T18:15:33Z")

</div>

Hello, sorry about the late reply. I am currently testing on my local machine and I am not using any server which is why I’ve been confused. I looked through the link provided, however that doesn’t work for me since I am running everything locally and my computer has internet.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [November 7, 2022, 6:01pm UTC](https://community.auth0.com/t/calls-to-auth0-api-management-client-are-throwing-httprequestexceptions/92891/5 "2022-11-07T18:01:01Z")

</div>

> [@fernandezchris23\_aut](#):
>
> I am currently testing on my local machine and I am not using any server which is why I’ve been confused.

Regardless of how you are hosting your app (local or not), your call to the management API will require a DNS lookup. This isn’t something you typically control, it is usually automatically handled by your machine.

Any time you call a URL it is matched to an IP address via a DNS lookup. The error is suggesting that the host isn’t known, i.e. the DNS server can’t match the URL to an IP.

This is _most likely_ a configuration issue on your machine/network and doesn’t have anything to do with Auth0.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 28, 2022, 8:56pm UTC](https://community.auth0.com/t/calls-to-auth0-api-management-client-are-throwing-httprequestexceptions/92891/6 "2022-11-28T20:56:54Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
