title: PayPal Orders v2 create response: The requested action could not be performed, semantically incorrect, or failed business validation
body: <p>I am trying to create an order for a payment with dart and PayPal API Orders V2</p>
  <p>This is the request I do at the url <code>https://api.sandbox.paypal.com/v2/checkout/orders</code></p>
  <p>The headers are correct. This is the body:</p>
  <pre><code>{
    &quot;intent&quot;: &quot;CAPTURE&quot;,
    &quot;purchase_units&quot;: [
      {
        &quot;amount&quot;: {
          &quot;currency_code&quot;: &quot;EUR&quot;,
          &quot;value&quot;: &quot;5.0&quot;
        },
        &quot;items&quot;: [{
          &quot;name&quot;: &quot;First time&quot;,
          &quot;unit_amount&quot;: {
            &quot;currency_code&quot;: &quot;EUR&quot;,
            &quot;value&quot;: &quot;2.0&quot;
          },
          &quot;quantity&quot;: &quot;1&quot;
        },
          {
            &quot;name&quot;: &quot;Second item&quot;,
            &quot;unit_amount&quot;: {
              &quot;currency_code&quot;: &quot;EUR&quot;,
              &quot;value&quot;: &quot;3.0&quot;
            },
            &quot;quantity&quot;: &quot;1&quot;
          }]
      }
    ]
  }
  </code></pre>
  <p>I get this error:</p>
  <blockquote>
  <p>The requested action could not be performed, semantically incorrect,
  or failed business validation</p>
  </blockquote>
  <p>If I remove the <code>items</code> array from the body the request works correctly.</p>