Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullReferenceException: Object reference not set to an instance of an object GraphQlClient.Core.GraphApi.HandleIntrospection () (at Assets/graphQl-client/Scripts/Core/GraphApi.cs:134) #28

Open
jnalfaro opened this issue Jun 23, 2021 · 0 comments

Comments

@jnalfaro
Copy link

Hello, I am getting a NullReferenceException: Object reference not set to an instance of an object
GraphQlClient.Core.GraphApi.HandleIntrospection () (at Assets/graphQl-client/Scripts/Core/GraphApi.cs:134)
When I try to Introspect the url.

I inputted my key in the line below:

public void SetAuthToken(string auth){ authToken = "Mi_api_key";

I am getting that error, could it be because the URL I am trying to connect to requires for me to authenticate using my API key and API secret? They recommended using BasicAuth on their website.

How should I approach this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant