Error Reference
GRAPHQL_VALIDATION_FAILED
The GraphQL operation does not match the schema contract.
This error is returned when your query or mutation cannot pass GraphQL validation.
Typical causes
- A field requires subfields but none were selected
- A field or argument name does not exist on the target type
- Required GraphQL arguments are missing
How to fix
- Validate the operation against the current schema.
- Add required subfield selections.
- Correct field and argument names.
Example
{
"errors": [
{
"message": "Field 'channel' requires subfield selection",
"extensions": {
"code": "GRAPHQL_VALIDATION_FAILED",
"errorType": "ValidationError",
"field": "channel",
"suggestedFix": "Add subfields like: channel { id }",
"documentation": "https://developers.rad.live/docs/errors/graphql_validation_failed"
}
}
]
}