title: 500 Internal Server Error for Post Request
body: <p>I am trying to save data from the UI form via API endpoint. I got 500 Internet server error for that API request.
  When I check on payload, I can see all the data that I want to send.
  Not sure how to solve 500 Internal server error
  <div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>{
     "OrderDetail":{
        "Item1":0,
        "Item2":0,
        "Item3":0
     },
     "OrderNo":251,
  }</code></pre>
  </div>
  </div>
  </p>