APIs & Integrations

joeygetg5
メンバー

Hapikey has been invalidated error

解決

Hello,

I setup a test account several months ago to validate the ability to create forms and submit from our product into HubSpot. All this time I have had access to the HAPI Key and have been able to generate forms and submit test lead data.

Just recently it appears that my HAPI Key has been disabled. Attempting to call the GET /forms to view the test forms I've created I receive the following error: "This hapikey (xxx) has been invaldiated".

When I navigate to the Integrations -> API Key section of my portal, I receive "Your portal doesn't have access to API Keys."

How can I re-enable API Keys?

Thanks for your time.

0 いいね!
1件の承認済みベストアンサー
cbarley
解決策
元HubSpot社員
元HubSpot社員

Hapikey has been invalidated error

解決

Hey @joeyformstesting, it looks like your test account was past its expiration date:

I ended up clicking "Renew" by hovering over that test account, which allowed me to go here and generate a new key. Are you able to see your API key now?

元の投稿で解決策を見る

0 いいね!
7件の返信
joeygetg5
メンバー

Hapikey has been invalidated error

解決

Great. Thank you for the help!

joeygetg5
メンバー

Hapikey has been invalidated error

解決

I am able to see the new key.

Just curious, where do I access the view that shows the expiration? I clicked all through the test account and still do not see that view.

Thanks,
Joey

0 いいね!
cbarley
元HubSpot社員
元HubSpot社員

Hapikey has been invalidated error

解決

Whoops, sorry I meant to link that. It's found in the Developer Account in which you created the Test Account: https://app.hubspot.com/developer/4914388/test-hub-ids

0 いいね!
cbarley
解決策
元HubSpot社員
元HubSpot社員

Hapikey has been invalidated error

解決

Hey @joeyformstesting, it looks like your test account was past its expiration date:

I ended up clicking "Renew" by hovering over that test account, which allowed me to go here and generate a new key. Are you able to see your API key now?

0 いいね!
MRodgers
参加者

Hapikey has been invalidated error

解決

Hi there, I'm having a similar issue that says my Hapikey has been invalidated. The form was originally created on my wordpress site, but I'm not seeing the form inside of WordPress or HubSpot. Can you please advise where to fix this?

0 いいね!
cbarley
元HubSpot社員
元HubSpot社員

Hapikey has been invalidated error

解決

Hi @joeyformstesting, that's strange - perhaps your test portal needed to be renewed? Can you respond with the HubID of your test account?

0 いいね!
joeygetg5
メンバー

Hapikey has been invalidated error

解決

Hi Connor,
Thanks for the response. The portal ID is 4919188.

Joey

0 いいね!