cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
christian_kreuz
Dynatrace Helper
Dynatrace Helper

In case you are seeing one of the following two errors while creating Connection Objects via Settings API or Monaco

Deployment failed - Monaco Error: '<schema-id>' is not an ordered setting, hence 'insertAfter' is not supported for this type of setting object

or

insertAfter not supported for unordered schema <schema-id>

 

The fix is as easy as removing the insertAfter attribute/statement from your Monaco Config, e.g.:

configs:
- id: some-connection
config:
name: Some Connection
template: connection.json
parameters:
...
type:
settings:
schema: <schema-id>
scope: tenant
insertAfter: # <-- remove this and its sub-attributes
configId: c2314e1b-409c-3eaf-9efa-5dc593b14aff
property: id
type: reference

or in case you're using the Settings REST API Directly:

[
{
"externalId": "string",
"insertAfter": "Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=", // <-- remove this line
"objectId": "Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=",
"schemaId": "<schema-id>",
"schemaVersion": "1.0.0",
"scope": "tenant",
"value": "string"
}
]

 

Version history
Last update:
‎27 Aug 2024 12:44 PM
Updated by: