Skip to content

422 segment_invalid

HTTP status
422
Code
segment_invalid
Title
Segment invalid
Meaning
The segment definition is invalid (over 3 levels, over 50 conditions, or an unknown operator).

What to do

Segments nest at most 3 levels and hold at most 50 conditions, with the operators listed in Segments. errors[] points at the problem.

Where it comes from

  • POST /v1/segments
  • PATCH /v1/segments/{id}
  • POST /v1/segments/count
  • POST /v1/campaigns

The response

Errors are application/problem+json (RFC 9457). detail never repeats the values you sent, and type links to this page. Quote requestId if you contact support.

{
"type": "https://docs.rhinorelay.com/api/errors/segment-invalid/",
"title": "Segment invalid",
"status": 422,
"code": "segment_invalid",
"detail": "The segment definition is invalid (over 3 levels, over 50 conditions, or an unknown operator).",
"requestId": "req_01J9Z8X7W6V5T4S3R2Q1P0N9M8"
}

Every error code