<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Error: &amp;quot;Invalid Quantity value&amp;quot; when ordering a catalog item using REST API Explorer in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/error-quot-invalid-quantity-value-quot-when-ordering-a-catalog/m-p/3334163#M3954</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I'm trying to order a catalog item using the &lt;STRONG&gt;REST API Explorer&lt;/STRONG&gt; in ServiceNow, but I'm encountering the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"error": {&lt;BR /&gt;"message": "Invalid Quantity value",&lt;BR /&gt;"detail": ""&lt;BR /&gt;},&lt;BR /&gt;"status": "failure"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Namespace:&lt;/STRONG&gt; sn_sc&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;API Name:&lt;/STRONG&gt; ServiceCatalogAPI&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;API Version:&lt;/STRONG&gt; v1&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Method:&lt;/STRONG&gt; Buy Item&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Endpoint:&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;POST &lt;A target="_blank" rel="noopener"&gt;https://&amp;lt;instance&amp;gt;.service-now.com/api/sn_sc/servicecatalog/items/{sys_id}/order_now&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’ve replaced {sys_id} with the actual sys_id of the catalog item I’m trying to order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need help -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I using the correct approach to order a catalog item via REST API?&lt;/P&gt;&lt;P&gt;What could be causing the &lt;STRONG&gt;"Invalid Quantity value"&lt;/STRONG&gt; error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jul 2025 05:59:58 GMT</pubDate>
    <dc:creator>Sreekar ML</dc:creator>
    <dc:date>2025-07-25T05:59:58Z</dc:date>
    <item>
      <title>Error: "Invalid Quantity value" when ordering a catalog item using REST API Explorer</title>
      <link>https://www.servicenow.com/community/community-central-forum/error-quot-invalid-quantity-value-quot-when-ordering-a-catalog/m-p/3334163#M3954</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;I'm trying to order a catalog item using the &lt;STRONG&gt;REST API Explorer&lt;/STRONG&gt; in ServiceNow, but I'm encountering the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"error": {&lt;BR /&gt;"message": "Invalid Quantity value",&lt;BR /&gt;"detail": ""&lt;BR /&gt;},&lt;BR /&gt;"status": "failure"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Namespace:&lt;/STRONG&gt; sn_sc&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;API Name:&lt;/STRONG&gt; ServiceCatalogAPI&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;API Version:&lt;/STRONG&gt; v1&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Method:&lt;/STRONG&gt; Buy Item&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Endpoint:&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;POST &lt;A target="_blank" rel="noopener"&gt;https://&amp;lt;instance&amp;gt;.service-now.com/api/sn_sc/servicecatalog/items/{sys_id}/order_now&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’ve replaced {sys_id} with the actual sys_id of the catalog item I’m trying to order.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need help -&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I using the correct approach to order a catalog item via REST API?&lt;/P&gt;&lt;P&gt;What could be causing the &lt;STRONG&gt;"Invalid Quantity value"&lt;/STRONG&gt; error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 05:59:58 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/error-quot-invalid-quantity-value-quot-when-ordering-a-catalog/m-p/3334163#M3954</guid>
      <dc:creator>Sreekar ML</dc:creator>
      <dc:date>2025-07-25T05:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error: "Invalid Quantity value" when ordering a catalog item using REST API Explorer</title>
      <link>https://www.servicenow.com/community/community-central-forum/error-quot-invalid-quantity-value-quot-when-ordering-a-catalog/m-p/3334174#M3955</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/215101"&gt;@Sreekar ML&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Please follow this HI Article:&amp;nbsp;&lt;A href="https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0686272" target="_blank"&gt;How to submit a catalog item using REST API - Support and Troubleshooting&lt;/A&gt;&lt;/P&gt;&lt;P&gt;or this Community post:&amp;nbsp;&lt;A href="https://www.servicenow.com/community/itsm-forum/how-to-order-catalog-items-from-rest-api-explorer/td-p/448541" target="_blank"&gt;Solved: How to order Catalog Items from REST API Explorer? - ServiceNow Community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this solution helps you then, mark it as accepted solution&amp;nbsp;‌‌&lt;span class="lia-unicode-emoji" title=":heavy_check_mark:"&gt;✔️&lt;/span&gt; and give thumbs up &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 06:12:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/error-quot-invalid-quantity-value-quot-when-ordering-a-catalog/m-p/3334174#M3955</guid>
      <dc:creator>debendudas</dc:creator>
      <dc:date>2025-07-25T06:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error: "Invalid Quantity value" when ordering a catalog item using REST API Explorer</title>
      <link>https://www.servicenow.com/community/community-central-forum/error-quot-invalid-quantity-value-quot-when-ordering-a-catalog/m-p/3405583#M5089</link>
      <description>&lt;P&gt;the message may indicate you are missing the quantity, in that case you can try to add it in the payload&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{ &amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"quantity"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"variables"&lt;/SPAN&gt;&lt;SPAN&gt;: {.....&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;on other hand you can try the&amp;nbsp;submit_producer method&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;also it may indicate user is missing permission to submit the item&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;you can also try to add to your integration user the rest_api_explorer role&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;and try to execute the API on that user, im the REST API Explorer, if it works then it should work also in Postman or on the integration&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;the error comes from script include&amp;nbsp;CatalogSaveUtility&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 15 Oct 2025 10:44:37 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/error-quot-invalid-quantity-value-quot-when-ordering-a-catalog/m-p/3405583#M5089</guid>
      <dc:creator>Rafał Rataj</dc:creator>
      <dc:date>2025-10-15T10:44:37Z</dc:date>
    </item>
  </channel>
</rss>

