<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Cmdb.dialog.create, Error: Given category identifier is not valid or not setted.]]></title><description><![CDATA[<p dir="auto">I'm getting a -32603 error with a message of "Given category identifier is not valid or not setted" when trying to add a new item. I know that the identifier is valid as the cmdb.dialog.read operation works just fine, so I'm guessing that it is not "setted", whatever that means…</p>
<pre><code>
var body = {
                        "jsonrpc": "2.0",
                        "method": "cmdb.dialog.create",
                        "params": {
                            "apikey": api.apiKey,
                            "category": "C__CATG__MODEL",
                            "property": "manufacturer",
                            "value": manufacturer.title
                        }
                    };

</code></pre>
<p dir="auto">Anyone run into this before? I am able to add a new manufacturer to the same dialog list in the web interface for what it's worth.</p>
]]></description><link>https://community.i-doit.com/topic/2787/cmdb-dialog-create-error-given-category-identifier-is-not-valid-or-not-setted</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 12:21:01 GMT</lastBuildDate><atom:link href="https://community.i-doit.com/topic/2787.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Oct 2015 12:51:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Cmdb.dialog.create, Error: Given category identifier is not valid or not setted. on Mon, 19 Oct 2015 14:09:15 GMT]]></title><description><![CDATA[<p dir="auto">So, I got a little lucky and figured this one out. The parameter name for category as given in the documentation is incorrect (or at least in the copy I have). The parameter needs to be 'category' for cmdb.dialog.read and 'catgID' for cmdb.dialog.create. After changing it to 'catgID' it works just fine:</p>
<pre><code>
var body = {
                        "jsonrpc": "2.0",
                        "method": "cmdb.dialog.read",
                        "params": {
                            "apikey": api.apiKey,
                            'category': "C__CATG__MODEL",
                            'property': 'manufacturer'
                        }
                    };

 var body = {
                        "jsonrpc": "2.0",
                        "method": "cmdb.dialog.create",
                        "params": {
                            "apikey": api.apiKey,
                            "catgID": "C__CATG__MODEL",
                            "property": "manufacturer",
                            "value": manufacturer.title
                        }
                    };

</code></pre>
]]></description><link>https://community.i-doit.com/post/11604</link><guid isPermaLink="true">https://community.i-doit.com/post/11604</guid><dc:creator><![CDATA[lagerman]]></dc:creator><pubDate>Mon, 19 Oct 2015 14:09:15 GMT</pubDate></item></channel></rss>