title: Error in creating static Test suites using Azure Devops REST API
body: <p>I am trying to create a static Test Suite using REST API but i am getting an error in my response.</p>
  <p>i am trying to follow the <a href="https://docs.microsoft.com/en-us/rest/api/azure/devops/test/test%20%20suites/create?view=azure-devops-rest-5.0&amp;viewFallbackFrom=azure-devops-rest-6.0" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/rest/api/azure/devops/test/test%20%20suites/create?view=azure-devops-rest-5.0&amp;viewFallbackFrom=azure-devops-rest-6.0</a></p>
  <p>My Request Body</p>
  <pre><code>$body= @&quot;
  [ {
    &quot;suiteType&quot;: &quot;StaticTestSuite&quot;,
    &quot;name&quot;: &quot;NewTestSuite&quot;,
    &quot;area&quot;: {
      &quot;name&quot;: &quot;&lt;TeamName&gt;&quot;
    },
    &quot;iteration&quot;: &quot;&lt;Iteration&gt;&quot;   
  }
  ]&quot;@
  
  $BuildReqBodyJson = $body | ConvertTo-Json
  
  $response = Invoke-RestMethod -Uri $Uri  -Method POST -Headers $header -ContentType &quot;application/json&quot;  -Body $BuildReqBodyJson 
  </code></pre>
  <p>Error :</p>
  <pre><code>Invoke-RestMethod : {&quot;$id&quot;:&quot;1&quot;,&quot;innerException&quot;:null,&quot;message&quot;:&quot;Value cannot be null.\r\nParameter name: 
  testSuite&quot;,&quot;typeName&quot;:&quot;System.ArgumentNullException, mscorlib&quot;,&quot;typeKey&quot;:&quot;ArgumentNullException&quot;,&quot;errorCode&quot;:0,&quot;eventId&quot;:0}
  At
  
  + $response = Invoke-RestMethod -Uri $Uri  -Method POST -Headers $heade ...
  +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
  </code></pre>