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

    • Type: Epic
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.5 GA
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Epic Name:
      Differentiate auth-failed and limit exceeded errors
    • Epic Status:
      Done
    • Target Release:

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            vramos Vanessa Ramos (Inactive)
            Tester:
            Michael Coelho Michael Coelho (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: