Description Usage Arguments Value
View source: R/error_handling.R
If API returns 400, there was a problem with the provided parameters; stop
If API returns 400 and request was to /tokens endpoint, likely bad
credentials; stop.
If API returns 401, refresh access token if found and resend request.
If API returns 403 and request was to /tokens endpoint, sleep for 60 seconds
and try again.
If API returns 404, an invalid dataset name was provided; stop.
5xx errors are re-sent through a normal RETRY
1 | check_response(response)
|
response |
HTTP response |
string to determine retry strategy
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.