Receiving 1006 error code from API

At my company we have an integration with Hubspot, and we’ve been receiving 1006 error codes from the Hubspot API. We have 2 AWS ECS tasks deployed, each of which calls the API, and each one is in a different availability zone. Only one of the tasks is affected by this issue. We think one potential cause is Cloudflare has banned the IP address of the NAT gateway on this task’s availability zone but we’re not sure why this would have happened. One reason we’ve found online is that we might have exceeded the API rate limit, but looking at logs, we’re well below the limit. This issue has only started happening since 29th June. Anyone know why we might be getting the 1006 error code?

Hey, @SukantRoy :waving_hand: Can you DM me the following, please?

  • The IP address
  • A rough timestamp of when the issue occured. It needs to be in ISO 8601, in UTC: `YYYY-MM-DDTHH:MM:SSZ` format

Thank you! —Jaycee

The IP address is 52.213.150.6

The timestamp of when the issue occurred is 2023-06-29T06:43:16Z

I experience the same. How can we fix this?