<?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>article Error &amp;quot;insertAfter not supported for unordered schema&amp;quot; or &amp;quot;'insertAfter' is not supported for this type of setting object&amp;quot; in Troubleshooting</title>
    <link>https://community.dynatrace.com/t5/Troubleshooting/Error-quot-insertAfter-not-supported-for-unordered-schema-quot/ta-p/254295</link>
    <description>&lt;P&gt;In case you are seeing one of the following two errors while creating Connection Objects via Settings API or Monaco&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Deployment failed - Monaco Error: '&amp;lt;schema-id&amp;gt;' is not an ordered setting, hence 'insertAfter' is not supported for this type of setting object&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;insertAfter not supported for unordered schema &amp;lt;schema-id&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The fix is as easy as removing the insertAfter attribute/statement from your Monaco Config, e.g.:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;configs:&lt;BR /&gt;- id: some-connection&lt;BR /&gt;  config:&lt;BR /&gt;    name: Some Connection&lt;BR /&gt;    template: connection.json&lt;BR /&gt;    parameters:&lt;BR /&gt;      ...&lt;BR /&gt;  type:&lt;BR /&gt;    settings:&lt;BR /&gt;      schema: &amp;lt;schema-id&amp;gt;&lt;BR /&gt;      scope: tenant&lt;BR /&gt;      insertAfter: # &amp;lt;-- remove this and its sub-attributes&lt;BR /&gt;        configId: c2314e1b-409c-3eaf-9efa-5dc593b14aff&lt;BR /&gt;        property: id&lt;BR /&gt;        type: reference&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;or in case you're using the &lt;A href="https://docs.dynatrace.com/docs/dynatrace-api/environment-api/settings/objects/post-object" target="_self"&gt;Settings REST API&lt;/A&gt; Directly:&lt;/P&gt;&lt;PRE&gt;[&lt;BR /&gt;  {&lt;BR /&gt;    "externalId": "string",&lt;BR /&gt;    "insertAfter": "Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=", // &amp;lt;-- remove this line&lt;BR /&gt;    "objectId": "Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=",&lt;BR /&gt;    "schemaId": "&amp;lt;schema-id&amp;gt;",&lt;BR /&gt;    "schemaVersion": "1.0.0",&lt;BR /&gt;    "scope": "tenant",&lt;BR /&gt;    "value": "string"&lt;BR /&gt;  }&lt;BR /&gt;]&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Aug 2024 11:44:54 GMT</pubDate>
    <dc:creator>christian_kreuz</dc:creator>
    <dc:date>2024-08-27T11:44:54Z</dc:date>
    <item>
      <title>Error "insertAfter not supported for unordered schema" or "'insertAfter' is not supported for this type of setting object"</title>
      <link>https://community.dynatrace.com/t5/Troubleshooting/Error-quot-insertAfter-not-supported-for-unordered-schema-quot/ta-p/254295</link>
      <description>&lt;P&gt;In case you are seeing one of the following two errors while creating Connection Objects via Settings API or Monaco&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Deployment failed - Monaco Error: '&amp;lt;schema-id&amp;gt;' is not an ordered setting, hence 'insertAfter' is not supported for this type of setting object&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;insertAfter not supported for unordered schema &amp;lt;schema-id&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The fix is as easy as removing the insertAfter attribute/statement from your Monaco Config, e.g.:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;configs:&lt;BR /&gt;- id: some-connection&lt;BR /&gt;  config:&lt;BR /&gt;    name: Some Connection&lt;BR /&gt;    template: connection.json&lt;BR /&gt;    parameters:&lt;BR /&gt;      ...&lt;BR /&gt;  type:&lt;BR /&gt;    settings:&lt;BR /&gt;      schema: &amp;lt;schema-id&amp;gt;&lt;BR /&gt;      scope: tenant&lt;BR /&gt;      insertAfter: # &amp;lt;-- remove this and its sub-attributes&lt;BR /&gt;        configId: c2314e1b-409c-3eaf-9efa-5dc593b14aff&lt;BR /&gt;        property: id&lt;BR /&gt;        type: reference&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;or in case you're using the &lt;A href="https://docs.dynatrace.com/docs/dynatrace-api/environment-api/settings/objects/post-object" target="_self"&gt;Settings REST API&lt;/A&gt; Directly:&lt;/P&gt;&lt;PRE&gt;[&lt;BR /&gt;  {&lt;BR /&gt;    "externalId": "string",&lt;BR /&gt;    "insertAfter": "Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=", // &amp;lt;-- remove this line&lt;BR /&gt;    "objectId": "Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=",&lt;BR /&gt;    "schemaId": "&amp;lt;schema-id&amp;gt;",&lt;BR /&gt;    "schemaVersion": "1.0.0",&lt;BR /&gt;    "scope": "tenant",&lt;BR /&gt;    "value": "string"&lt;BR /&gt;  }&lt;BR /&gt;]&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 11:44:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Troubleshooting/Error-quot-insertAfter-not-supported-for-unordered-schema-quot/ta-p/254295</guid>
      <dc:creator>christian_kreuz</dc:creator>
      <dc:date>2024-08-27T11:44:54Z</dc:date>
    </item>
  </channel>
</rss>

