PROMPT_EVAL_SCORE_INVALID
400invalid_requestThe prompt eval score is invalid.
Cause
The score payload failed validation: a missing evaluated_by, an out-of-range value, or an unknown metric name.
How to fix it
Fix the field named in error_message and resend.
Example response
400 PROMPT_EVAL_SCORE_INVALID
JSON
{
"error_code": "PROMPT_EVAL_SCORE_INVALID",
"error_type": "invalid_request",
"error_message": "The prompt eval score is invalid.",
"hint": "Fix the field named in error_message and resend.",
"docs_url": "https://docs.billerapi.com/errors/PROMPT_EVAL_SCORE_INVALID",
"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_EVAL_SCORE_INVALID
Was this page helpful?