Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30837

Fix http status code when a quota is exceeded

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.10-HF57, 2021.14
    • Fix Version/s: HOTFIX_10.10, 2021.x
    • Component/s: Quotas

      Description

      Description:

      When a quota is exceeded, a 500 http status code is returned to the client:

      {"entity-type":"exception","status":500,"message":"Current event documentCreated would break Quota restriction, rolling back, QuotaExceeded"}
      

      Expected outcome:

      Code HTTP Type
      507 Insufficient storage
      509 Bandwidth Limit Exceeded

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: