# Unable to get contacts from application using GET (404 error)

**URL:** <https://community.hubspot.com/t/unable-to-get-contacts-from-application-using-get-404-error/13537>\
**Category:** APIs & Integrations\
**Tags:** developer-tools, contacts\
**Created:** [March 15, 2019, 10:09pm UTC](https://community.hubspot.com/t/unable-to-get-contacts-from-application-using-get-404-error/13537 "2019-03-15T22:09:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lhoyland](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lhoyland/32/35608_2.png) [@lhoyland](https://community.hubspot.com/u/lhoyland)\
**Post date:** [March 15, 2019, 10:09pm UTC](https://community.hubspot.com/t/unable-to-get-contacts-from-application-using-get-404-error/13537/1 "2019-03-15T22:09:06Z")

</div>

_\*started by CSM and the customer will add more but was having issues submitting_

---

<div class="post-metadata">

**Author:** ![ManasFC](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/manasfc/32/84489_2.png) [@ManasFC](https://community.hubspot.com/u/ManasFC)\
**Post date:** [March 16, 2019, 4:17pm UTC](https://community.hubspot.com/t/unable-to-get-contacts-from-application-using-get-404-error/13537/2 "2019-03-16T16:17:04Z")

</div>

![Redacted screenshot.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/6/a66ba4b95e200603c1dd74211992ffec01ba17c9.jpeg)

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [March 18, 2019, 5:21pm UTC](https://community.hubspot.com/t/unable-to-get-contacts-from-application-using-get-404-error/13537/3 "2019-03-18T17:21:33Z")

</div>

Thanks for getting the ball rolling, @lhoyland!

Hi, @ManasFC.

First of all, **please don’t share production or developer API keys on this forum**. Anyone who has a key has full access to the corresponding account. I have concealed the key values in your screenshot but recommend regenerating your developer key on [this page](https://app.hubspot.com/developer/5595834) ( **Get HAPIkey** \> **Regenerate key** ), since it’s been visible on this public forum all weekend.

With that said, what is your goal?  
If you wish to retrieve all contacts from the account ending in **5790** , you are using the wrong request URL and API key. The [Get all contacts](https://developers.hubspot.com/docs/methods/contacts/get_contacts) endpoint URL is `https://api.hubapi.com/contacts/v1/lists/all/contacts/all`, not `https://api.hubapi.com/integrations/v1/`.

Additionally, you must use the API key from the account containing contact records. You used [your developer account’s](https://app.hubspot.com/developer/5595834) API key, however developer accounts and [apps](https://developers.hubspot.com/docs/faq/how-do-i-create-an-app-in-hubspot) do not contain contact records, so they cannot return them.
