Skip to content

Commit

Permalink
Document 429 handling generically (elastic#105700) (elastic#105869)
Browse files Browse the repository at this point in the history
We only had a few mentions of 429 handling, now documenting our expectation generically.

Co-authored-by: David Turner <david.turner@elastic.co>
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
  • Loading branch information
3 people authored Mar 1, 2024
1 parent 66ec625 commit a3b5f6f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/reference/api-conventions.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,14 @@ Content-Type: application/vnd.elasticsearch+json; compatible-with=7
Accept: application/vnd.elasticsearch+json; compatible-with=7
----------------------------------------------------------------------

[discrete]
[[api-push-back]]
=== HTTP `429 Too Many Requests` status code push back

{es} APIs may respond with the HTTP `429 Too Many Requests` status code, indicating that the cluster is too busy
to handle the request. When this happens, consider retrying after a short delay. If the retry also receives
a `429 Too Many Requests` response, extend the delay by backing off exponentially before each subsequent retry.

[discrete]
[[api-url-access-control]]
=== URL-based access control
Expand Down

0 comments on commit a3b5f6f

Please sign in to comment.