Essentials
Errors
The GraphQL API provides a variety of errors.
Overview
At times your GraphQL queries and mutations will generate errors. Different issues can cause errors including, but not limited to, data validation errors, reference errors, authentication errors and sometimes internal server errors.
Data validation errors
If you attempt to insert an invalid data type into a field it will generate a validation error. For example, if you try to put a number into text field it will generate a form validation error.