Article - CS400182

Server Returns HTTP 429 Response as text/xml Instead of application/json when using REST API on Codebeamer

Modified: 31-Aug-2023   


Applies To

  • Codebeamer 21.09

Description

When exceeding the "bandwidthConfigs" capacity as set through API Throttling, the Codebeamer server returns a response in form of string (content: text/xml, message: "Too many requests") instead of application/json, as it would be expected according to the OpenAPI specs:
      "TooManyRequestsException": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "resourceUri": {
            "type": "string"
          },
          "retryAfterSecond": {
            "type": "integer",
            "format": "int64"
          }
        }
      }
This is a printer-friendly version of Article 400182 and may be out of date. For the latest version click CS400182