4 ms·
Authorization errors can go in the errors array which has a path reference in the standard. You generally don't want to use HTTP error codes with field level e
by cameronh90 3y ago
Authorization errors can go in the errors array which has a path reference in the standard.
You generally don't want to use HTTP error codes with field level errors in GQL.
- paulryanrogers 3y agoSo still a 200? Or a 202, 206, 207?
- troupo 3y ago401 or 403. Why is this a question?
- paulryanrogers 3y agoBecause there may be fields requested correctly alongside some requested incorrectly
- troupo 3y agoOutside of very few cases it means the request was incorrect. And bo one is stopping you from returning a response that contains error details.