The Rize GraphQL API uses standardized error codes and messages to help you identify and resolve issues. Below is a detailed guide to common errors and their solutions.
All errors returned by the API follow this structure:
{
"errors": [
{
"message": "Error message details",
"locations": [
{
"line": 3,
"column": 5
}
],
"path": ["queryName"],
"extensions": {
"code": "BAD_USER_INPUT",
}
}
]
}
Key Fields:
message
: Human-readable error message.locations
: The part of the query where the error occurred.path
: The field path causing the error.extensions.code
: A specific error code for categorization.message
field for immediate clues about the problem.path
field points to the exact field in your query causing the issue.extensions.code
for detailed categorization of the error.If an error persists and the solution isnβt clear: