Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Handle rate limiting with a retryable http client #109

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

solarkennedy
Copy link
Contributor

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.

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant