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

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

Open
kevinobee opened this issue Nov 26, 2019 · 2 comments
Open
Labels
bug Something isn't working

Comments

@kevinobee
Copy link
Contributor

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:

  • BadRequest response back from HubSpot
  • Forbidden response from HubSpot

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

@kevinobee kevinobee added the bug Something isn't working label Nov 26, 2019
@BenFidge
Copy link
Contributor

BenFidge commented Jul 3, 2020

@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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants