title: Azure rest API (6.0-preview.1) Run Pipeline returns : "Value cannot be null.\r\nParameter name: runParameters" via postman
body: <p>I try to invoke rest API to azure via postman first, I invoke get pipelines API to get the pipeline id
  and the result is: 2
  the response :</p>
  <pre><code>{
      &quot;count&quot;: 1,
      &quot;value&quot;: [
          {
              &quot;_links&quot;: {
                  &quot;self&quot;: {
                      &quot;href&quot;: &quot;https://dev.azure.com/xxx/5fcd81ac-534e-xxx/_apis/pipelines/2?revision=3&quot;
                  },
                  &quot;web&quot;: {
                      &quot;href&quot;: &quot;https://dev.azure.com/xxx/5fcd81ac-534e-xxx/_build/definition?definitionId=2&quot;
                  }
              },
              &quot;url&quot;: &quot;https://dev.azure.com/xxx/5fcd81ac-534e-xxx/_apis/pipelines/2?revision=3&quot;,
              &quot;id&quot;: 2,
              &quot;revision&quot;: 3,
              &quot;name&quot;: &quot;xxx.ios_build_on_azure&quot;,
              &quot;folder&quot;: &quot;\\&quot;
          }
      ]
  }
  </code></pre>
  <p>ok assuming the id is 2 as i have only 1 pipeline there i try to invoke the runs API to start this pipeline and I'm getting this :
  <a href="https://i.stack.imgur.com/VjcUz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/VjcUz.png" alt="enter image description here" /></a></p>
  <pre><code>{
      &quot;$id&quot;: &quot;1&quot;,
      &quot;innerException&quot;: null,
      &quot;message&quot;: &quot;Value cannot be null.\r\nParameter name: runParameters&quot;,
      &quot;typeName&quot;: &quot;System.ArgumentNullException, mscorlib&quot;,
      &quot;typeKey&quot;: &quot;ArgumentNullException&quot;,
      &quot;errorCode&quot;: 0,
      &quot;eventId&quot;: 0
  }
  </code></pre>
  <p><strong>UPDATE</strong><br />
  also if i try to add to the body :
  as described in :
  <a href="https://stackoverflow.com/questions/63654387/azure-rest-api-for-running-builds-or-pipelines">Azure REST API for running builds or pipelines</a></p>
  <p>like this :</p>
  <pre><code>{
      &quot;resources&quot;: {
          &quot;repositories:&quot; {
              &quot;self&quot;: {
                  &quot;refName&quot;: &quot;xxx/ios_build_on_azure&quot;
              }
          }
      }
  }
  </code></pre>
  <p>I'm getting :</p>
  <pre><code>{
      &quot;$id&quot;: &quot;1&quot;,
      &quot;innerException&quot;: null,
      &quot;message&quot;: &quot;TF400898: An Internal Error Occurred. Activity Id: xxxxx-6ff6-4786-bb2e-f12dxxxx.&quot;,
      &quot;typeName&quot;: &quot;Newtonsoft.Json.JsonReaderException, Newtonsoft.Json&quot;,
      &quot;typeKey&quot;: &quot;JsonReaderException&quot;,
      &quot;errorCode&quot;: 0,
      &quot;eventId&quot;: 0
  }
  </code></pre>