Hubspot API keys
alexisNext
Registered Posts: 1 ✭
Hi,
I'm trying to connect my hubspot to dataiku.
I followed the steps of creating a dataiku account, adding the hubspot plugin, adding dataiku with all reading writes in hubspot, created an output data set on S3 on dataiku, copy pasted the api key in the recipe creation.
Everytime i have the same error :
Oops: an unexpected error occurred
Error in python process: At line 31: <class 'Exception'>: API error when calling https://api.hubapi.com/properties/v1/companies/properties?hapikey=pat-na1-8e5cfb2f-2577-409c-XXXXXX, error code 401. Returned response : {'status': 'error', 'message': 'The API key provided is invalid. View or manage your API key here: https://app.hubspot.com/l/api-key/', 'correlationId': 'f33b7d43-9XXXXXXXXXXX', 'category': 'INVALID_AUTHENTICATION', 'links': {'api key': 'https://app.hubspot.com/l/api-key/'}}
Please see our options for getting help
HTTP code: , type: <class 'Exception'>
Answers
-
JordanB Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 297 Dataiker
HI @alexisNext
,This error indicates that there is an issue with the validity of your Hubspot API key. I would suggest checking that there are no whitespaces preceding or trailing the api key, and of course, please check that your API key is valid.
Please see the plugin documentation for more information: https://www.dataiku.com/product/plugins/hubspot/
Kind Regards,
Jordan