In case you are seeing one of the following two errors while creating Connection Objects via Settings API or Monaco
<span>Deployment failed - Monaco Error: '<schema-id>' is not an ordered setting, hence 'insertAfter' is not supported for this type of setting object</span>
or
<span>insertAfter not supported for unordered schema <schema-id></span>
The fix is as easy as removing the insertAfter attribute/statement from your Monaco Config, e.g.:
<span>configs:<br>- id: some-connection<br> config:<br> name: Some Connection<br> template: connection.json<br> parameters:<br> ...<br> type:<br> settings:<br> schema: <schema-id><br> scope: tenant<br> insertAfter: # <-- remove this and its sub-attributes<br> configId: c2314e1b-409c-3eaf-9efa-5dc593b14aff<br> property: id<br> type: reference</span>
or in case you’re using the Settings REST API Directly:
[<br> {<br> "externalId": "string",<br> "insertAfter": "Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=", // <-- remove this line<br> "objectId": "Y2ktaGdyb3VwLTEyMythZjhjOThlOS0wN2I0LTMyMGEtOTQzNi02NTEyMmVlNWY4NGQ=",<br> "schemaId": "<schema-id>",<br> "schemaVersion": "1.0.0",<br> "scope": "tenant",<br> "value": "string"<br> }<br>]