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

document error response #61

Open
aligthart opened this issue Jun 8, 2020 · 0 comments
Open

document error response #61

aligthart opened this issue Jun 8, 2020 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@aligthart
Copy link

The API documentation does not state anything on the format of errors that can be returned when doing calls to gubernator.

On an error you can still get an http 200 back but a totally different response. (for instance the one below during the restart of a ratelimiter POD).

Would be good to document the possible error formats.

{"responses":[
    {"error":"while finding peer that owns rate limit 'xxxx' - 'unable to pick a peer; pool is empty'"},
    {"error":"while finding peer that owns rate limit 'yyyy' - 'unable to pick a peer; pool is empty'"}
]}
@thrawn01 thrawn01 added the help wanted Extra attention is needed label Sep 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants