Skip to content

bad_request

HTTP status: 400 Bad Request

The request was well-formed but a rule refused it. This is a different error from validation_failed, which reports specific invalid fields, malformed JSON and fields of the wrong JSON type included.

  • A variation key that already exists on the flag.
  • A Boolean flag variation whose value isn’t true or false. Use a String, Number or Json flag for other values.
  • A write to an archived flag.
  • A malformed pagination cursor.
  • An If-Match header on a write that can’t evaluate it. Only GETs and the conditional writes accept one, so remove it or send If-Match: *.
  • Read message, which names the rule the request broke.
  • Pass pagination cursors back exactly as received.
{
"error": "bad_request",
"message": "Variation with key 'beta' already exists",
"docs_url": "https://featureflip.io/docs/management-api/errors/bad_request"
}