# Forms API not accepting HAPI key

**URL:** <https://community.hubspot.com/t/forms-api-not-accepting-hapi-key/12516>\
**Category:** APIs & Integrations\
**Tags:** forms\
**Created:** [January 21, 2019, 4:07pm UTC](https://community.hubspot.com/t/forms-api-not-accepting-hapi-key/12516 "2019-01-21T16:07:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [January 21, 2019, 4:07pm UTC](https://community.hubspot.com/t/forms-api-not-accepting-hapi-key/12516/1 "2019-01-21T16:07:25Z")

</div>

We have started receiving errors from the Hubpot API when trying to fetch a form using this endpoint:  
[https://api.hubapi.com/forms/v2/forms/](https://api.hubapi.com/forms/v2/forms/)

The error returned is: “This endpoint does not accept EXTERNAL hapikeys, and has no special allowances for this hapikey”

Even trying the demo link in [the documentation](https://developers.hubspot.com/docs/methods/forms/v2/get_form) gives the same error so it doesn’t seem like it’s a key issue

[https://api.hubapi.com/forms/v2/forms/1eae3941-9ce8-411d-8b91-87a92c0c9d5c/?hapikey=demo](https://api.hubapi.com/forms/v2/forms/1eae3941-9ce8-411d-8b91-87a92c0c9d5c/?hapikey=demo)

Any ideas?

---

<div class="post-metadata">

**Author:** ![mwhelan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mwhelan/32/82797_2.png) [@mwhelan](https://community.hubspot.com/u/mwhelan)\
**Post date:** [January 21, 2019, 4:38pm UTC](https://community.hubspot.com/t/forms-api-not-accepting-hapi-key/12516/2 "2019-01-21T16:38:35Z")

</div>

We are experiencing the exact same issue with our account. Any help would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![jeffnappi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jeffnappi/32/32795_2.png) [@jeffnappi](https://community.hubspot.com/u/jeffnappi)\
**Post date:** [January 21, 2019, 5:10pm UTC](https://community.hubspot.com/t/forms-api-not-accepting-hapi-key/12516/3 "2019-01-21T17:10:09Z")

</div>

We are also experiencing this issue.

---

<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:** [January 21, 2019, 5:22pm UTC](https://community.hubspot.com/t/forms-api-not-accepting-hapi-key/12516/4 "2019-01-21T17:22:11Z")

</div>

Thanks for reaching out, @daveb, @mwhelan, and @jeffnappi.

I’ve been able to reproduce this behavior with my own external API key.

The same key works for other endpoints like [Get all forms](https://developers.hubspot.com/docs/methods/forms/v2/get_forms) and [Get contact by ID](https://developers.hubspot.com/docs/methods/contacts/get_contact). Can you confirm whether this is the case for you all?

Please share your Hub IDs as well so that I can record the impact of the issue.

---

<div class="post-metadata">

**Author:** ![mwhelan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mwhelan/32/82797_2.png) [@mwhelan](https://community.hubspot.com/u/mwhelan)\
**Post date:** [January 21, 2019, 5:34pm UTC](https://community.hubspot.com/t/forms-api-not-accepting-hapi-key/12516/5 "2019-01-21T17:34:35Z")

</div>

[@Isaac\_Takushi](https://community.hubspot.com/u/isaac_takushi) Yes, I can confirm that getting all forms still works for us. Our Hub ID is 106921.

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [January 21, 2019, 5:52pm UTC](https://community.hubspot.com/t/forms-api-not-accepting-hapi-key/12516/6 "2019-01-21T17:52:22Z")

</div>

We are experiencing the same issue, but not getting the forms at all. Hubspot ID is 2266771.

---

<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:** [January 21, 2019, 5:58pm UTC](https://community.hubspot.com/t/forms-api-not-accepting-hapi-key/12516/7 "2019-01-21T17:58:32Z")

</div>

Hey, all.

The forms team just pushed a fix which should be in production. Can you confirm whether the issue has been resolved?

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [January 21, 2019, 6:02pm UTC](https://community.hubspot.com/t/forms-api-not-accepting-hapi-key/12516/8 "2019-01-21T18:02:21Z")

</div>

Solved the issue for us! Great! Thanks!

---

<div class="post-metadata">

**Author:** ![mwhelan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mwhelan/32/82797_2.png) [@mwhelan](https://community.hubspot.com/u/mwhelan)\
**Post date:** [January 21, 2019, 6:28pm UTC](https://community.hubspot.com/t/forms-api-not-accepting-hapi-key/12516/9 "2019-01-21T18:28:21Z")

</div>

Everything is working as expected now. Thanks!
