graphQL-client-unity icon indicating copy to clipboard operation
graphQL-client-unity copied to clipboard

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

Open jnalfaro opened this issue 4 years ago • 0 comments

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?

jnalfaro avatar Jun 23 '21 13:06 jnalfaro