Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-2752

Differentiate auth-failed and limit exceeded errors

    XMLWordPrintable

Details

    • Epic
    • Resolution: Done
    • Major
    • None
    • 2.5 GA
    • None
    • None
    • Differentiate auth-failed and limit exceeded errors
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Done
    • +
    • 100
    • 100% 100%

    Description

      APIcast sees the same response from backend for Method disabled and for rate limit exceeded because the former is implemented internally as a rate limit of zero. Either backend would have to send a difference response error for rate limits of zero or when APIcast processes the response if it can tell that the reason for rate limit exceeded was rate limit zero, it would add and different response error.

      APIcast already returns a 429 when limits are exceeded https://github.com/3scale/apicast/issues/368

      But it still can't differentiate between rate limits >0 or =0. Backend and APIcast need to support that.

      And everything needs to be able to be configured from system UI.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vramosp Vanessa Ramos (Inactive)
            Michael Coelho Michael Coelho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: