Auth0.Core.Exceptions.ApiException: 'Missing Authentication Token'

Hello, new to Auth0 and attempting to receive new token from authentication server. Here is my code in C# Console app using Auth0.AuthenticationApi and Auth0.AuthenticationApi.Models. Results in Auth0.Core.Exceptions.ApiException: ‘Missing Authentication Token’ when calling TokenGrant().

static async void TokenGrant()
        {
            var client = new AuthenticationApiClient("..");

            await client.GetTokenAsync(new AuthorizationCodeTokenRequest
            {
                ClientId = "..",
                ClientSecret = ".."
            });

            Console.WriteLine("Response received!");
        }

Hey there!

Sorry for such delay in response! We’re doing our best in providing the best developer support experience out there, but sometimes the number of incoming questions is just too big for our bandwidth. Sorry for such inconvenience!

Do you still require further assistance from us?