Server Error Error: Unexpected token < in JSON at position 0

I am new to GraphQL and Apollo Client so I am not sure what could be the issue.

I am facing below error when I am trying to get posts from WordPress backend. I have used GraphQL plugin in WordPress backend.

Any help would be appreciated.