# getting 530 'Origin DNS Error' for each requests

**URL:** <https://community.hubspot.com/t/getting-530-origin-dns-error-for-each-requests/102780>\
**Category:** APIs & Integrations\
**Tags:** cms-content\
**Created:** [March 18, 2024, 9:24am UTC](https://community.hubspot.com/t/getting-530-origin-dns-error-for-each-requests/102780 "2024-03-18T09:24:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ADeliere](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@ADeliere](https://community.hubspot.com/u/ADeliere)\
**Post date:** [March 18, 2024, 9:24am UTC](https://community.hubspot.com/t/getting-530-origin-dns-error-for-each-requests/102780/1 "2024-03-18T09:24:03Z")

</div>

I try to fetch custom datas from my account with a NodeJs Hubspot client.  
Without my token , I get 401 (logic) but with, I get 530 for every requests.

The token has all right on the account.

I tested an other token from other account and it works.

I saw some posts about this error telling I have to add IP adress in /etc/hosts. Even that does not work (And I’m not supposed to edit this file)

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [March 18, 2024, 2:02pm UTC](https://community.hubspot.com/t/getting-530-origin-dns-error-for-each-requests/102780/2 "2024-03-18T14:02:28Z")

</div>

Hi @ADeliere

Refer to the link attached and for reference I have added a screenshot of curl.

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Fapi-reference%2Fcrm-custom-objects-v3%2Fguide)**

 ![GRajput_1-1710770534500.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/2/12abfc9bfc886e4421e183804d1b6acc91076936.png)

If still need any further help feel free to reach out

I hope this will help you out. Please mark it as **Solution Accepted and upvote** to help another Community member.  
Thanks!

---

<div class="post-metadata">

**Author:** ![ADeliere](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@ADeliere](https://community.hubspot.com/u/ADeliere)\
**Post date:** [March 18, 2024, 3:37pm UTC](https://community.hubspot.com/t/getting-530-origin-dns-error-for-each-requests/102780/3 "2024-03-18T15:37:47Z")

</div>

Hi,

You gave me the public documentation which I’ve already been through … and it always give me back an html template with ‘Origin DNS error | [api.hubapi.com](http://api.hubapi.com) | Cloudflare’
