Looks like both formats mentioned are still used. What I need to understand is which format is used in case of which error. Any documentation on this that I missed?
Hey @basdebruin - no changes have been made to the API or the way that error formatting occurs.
The API responds with different error formats depending on the type of error occurring. For example, when I try to run a query with invalid fields, it returns more information (like the message and locations):
The error you posted above is more inline with an error monday is throwing (rather than a GraphQL error such as mine). This could mean a few things - such as hitting the complexity limit or having an invalid template ID.
Thank you for confirming that. That means we need to do error checking on two different way for each API call. I went ahead and have done that, but in my opinion it would be nicer to have only one error format in place.