---
title: "Comment by Supriya M on \"Using GraphQL with Axios and Redux\" | Hashnode"
description: "Very well explained blog Hetav! I wasn&#39;t aware that GraphQL sends status 200 for errors as well. I have used thunkAPI options such as fulfillWithValue and r"
url: "https://hashnode.com/posts/using-graphql-with-axios-and-redux/60c76627bbd8c506819ae0cc/comment/60c9fd04896a741a43a71078"
---

[Discussion](https://hashnode.com/posts/using-graphql-with-axios-and-redux/60c76627bbd8c506819ae0cc)

Comment [Using GraphQL with Axios and Redux](https://hashnode.com/posts/using-graphql-with-axios-and-redux/60c76627bbd8c506819ae0cc)

[Supriya M](https://hashnode.com/@supminn)

[Jun 16, 2021](https://hashnode.com/posts/using-graphql-with-axios-and-redux/60c76627bbd8c506819ae0cc/comment/60c9fd04896a741a43a71078)

Very well explained blog Hetav! I wasn't aware that GraphQL sends status 200 for errors as well. I have used `thunkAPI` options such as `fulfillWithValue` and `rejectWithValue` to return the fulfilled and rejected values respectively. By doing so, you would avoid creating an Error object explicitly.

[Hetav Desai](https://hashnode.com/@desaihetav)

[Jun 17, 2021](https://hashnode.com/posts/using-graphql-with-axios-and-redux/60c76627bbd8c506819ae0cc/comment/60c9fd04896a741a43a71078#reply-60cb0e538ce4491f0f298440)

Thank you, Supriya! Just learnt about `fulfillWithValue` and `rejectWithValue`, it'll surely be helpful.
