https://slingdata.io logo
Hi guys, I use sling 1.5.19, and when I try to syn...
# sling-help
h
Hi guys, I use sling 1.5.19, and when I try to sync with hubspot I got `could not fetch spec
hubspot-v3
(status: 400) => Missing CLI token or API key` I used my key to access API via curl and all works fine. What am I doing wrong?
Copy code
$ cat .env.sling | sed 's/na1.*"/na1-...."/' | grep HUB
HUBSPOT='{ type: api, spec: hubspot-v3, secrets: { access_token: "pat-na1-...." } }'
$ sling conns test MY_PG
5:56PM INF success!
$ sling conns test HUBSPOT
fatal:
~ could not fetch api spec: hubspot-v3
could not fetch spec `hubspot-v3` (status: 400) => Missing CLI token or API key