Bharathi Majji
Hi,
How to handle errors in GraphQL ?
Thanks in advance.
A successful GraphQL query is supposed to return a JSON object with a root field called "data". If the request fails or partially fails (e.g. because the user requesting the data doesn’t have the right access permissions), a second root field called "errors" is added to the response: