graphQL-client-unity
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)
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?