I'm making a call to an API and I can't find the source of this error "Specified Cast is not valid"
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, UrlApi);
request.Headers.Add("Accept", "text/plain");
request.Headers.Add("Authorization", $"Bearer...