Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from using API Key auth to Private App Token auth #814

Open
techieshark opened this issue Mar 2, 2023 · 0 comments
Open

Switch from using API Key auth to Private App Token auth #814

techieshark opened this issue Mar 2, 2023 · 0 comments

Comments

@techieshark
Copy link

Description and Context

Hubspot has discontinued support for API Keys (as you know: #701).

Looking here, I don't see support for private app tokens.

Using hs cli 4.0.0

Steps to reproduce

Run

HUBSPOT_PORTAL_ID=your-id HUBSPOT_API_KEY=your-key hs fetch / ./hubspot-files --overwrite --use-env

and observe that it fails because api keys were deprecated.

Expected behavior

So now we'd expect something like this to work:

HUBSPOT_PORTAL_ID=your-id HUBSPOT_PRIVATE_APP_TOKEN=pat-xxxxx hs fetch / ./hubspot-files --overwrite --use-env

but it doesn't

Screenshots

Who to Notify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant