CluedIn-io / CluedIn.Crawling.HubSpot

CluedIn HubSpot Crawler
1 stars 1 forks source link

HubSpot crawl job BadRequest and Forbidden responses to API calls #47

Open kevinobee opened 4 years ago

kevinobee commented 4 years ago

The logs for the develop hosted environment show a lot of errors and exceptions being logged by the HubSpot crawler.

These errors are broadly of two types:

Examples can be found in the develop environment logs

Can we either investigate these error log events or amend the logging event level so that expected errors that are handled by the code do not go unhandled and so generate error level log events.

image

BenFidge commented 4 years ago

@Kieranties Re the Forbidden items you listed in Slack - this a known issue due to account privileges on HubSpot. Probably shouldn't be reported as an error. Better up front detection of the account type to prevent making actually the calls would be better option.

Kieranties commented 4 years ago

Agree that identifying the permissions would be better - at the least these should probably be downgraded to a warning. Perhaps once the 'engine room' is available the management of these will become more of a priority