title: Error message in XML and API with C# Code
body: <p>Based on this code below from previous <a href="https://stackoverflow.com/questions/30683402/c-sharp-code-to-retrieve-xml-data">support</a>:</p>
  
  <pre><code> using (WebClient client = new WebClient())
   {
       client.Headers.Add("Accept-Language", " en-US");
       client.Headers.Add("Accept", " text/html, application/xhtml+xml, */*");
       client.Headers.Add("User-Agent", "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)");
  
       XDocument xml = XDocument.Parse(client.DownloadString("http://api.arbetsformedlingen.se/af/v0/platsannonser/matchning?lanid=1&amp;kommunid=180&amp;yrkesid=2419&amp;1&amp;antalrader=10000"));
   }
  </code></pre>
  
  <p>I retrieve a error message </p>
  
  <blockquote>
    <p>{System.Xml.XmlException} {"Data at the root level is invalid. Line 1, position 1."}</p>
  </blockquote>
  
  <p>I tried solving it but I cannot find a solution to it.</p>