PROMPT_EXPERIMENT_NO_CONTROL
400invalid_requestThe experiment has no control arm.
Cause
The control arm defaults to the production pointer, and this agent_type has none.
How to fix it
Pass an explicit control_hash, or promote a production version first.
Example response
400 PROMPT_EXPERIMENT_NO_CONTROL
JSON
{
"error_code": "PROMPT_EXPERIMENT_NO_CONTROL",
"error_type": "invalid_request",
"error_message": "The experiment has no control arm.",
"hint": "Pass an explicit control_hash, or promote a production version first.",
"docs_url": "https://docs.billerapi.com/errors/PROMPT_EXPERIMENT_NO_CONTROL",
"request_id": "d94f5e2a-8c3b-4f1e-9a7d-6b2c1e0f8a34"
}Related
- Error handling — the error envelope shape and how to parse it
- Error code reference — every stable error code
Canonical docs URL: https://docs.billerapi.com/errors/PROMPT_EXPERIMENT_NO_CONTROL
Was this page helpful?