terraform-provider-uptimerobot icon indicating copy to clipboard operation
terraform-provider-uptimerobot copied to clipboard

Handle rate limiting with a retryable http client

Open solarkennedy opened this issue 4 years ago • 0 comments

I was having trouble using the provider because I was being rate limited, and the error was "null" because it wasn't in json.

This change adds the hashicorp retryable http client which will understand the 429s and exponentially backoff.

Additionally, if there is anything else weird that happens that results in a non-200 or bad json, the error will be more visible to the user.

solarkennedy avatar Sep 17 '21 16:09 solarkennedy