Below is the content of connector-spec.json for new connector. For this connector I was trying to use accountAttributes in addition to identityAttributes for creating new account. Is accountAttributes allowed in account plan?
I am getting error below when trying to upload new connector file to tenant:
*Error: upload failed. status: 400 Bad Request*
*body: {"detailCode":"Bad Request","trackingId":"e05c86438353496593c075768ce3c6be","messages":[{"locale":"en-US","localeOrigin":"DEFAULT","text":"400 Bad Request: connector specification validation failed: Schema validation error in path: [/accountCreateTemplate/fields/11/initialValue: {\"attributes\":{\"attr... did not match any of the specified OneOf schemas ...*
Content of connector-spec.json:
.
..
"accountCreateTemplate": {
"fields": [
{
"key": "login",
"label": "login",
"type": "string",
"required": true,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "email"
}
}
},
{
"key": "firstName",
"label": "firstName",
"type": "string",
"required": false,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "firstname"
}
}
},
{
"key": "lastName",
"label": "lastName",
"type": "string",
"required": false,
"initialValue": {
"type": "identityAttribute",
"attributes": {
"name": "lastname"
}
}
},
{
"key": "approvalLimit",
"label": "approvalLimit",
"type": "string",
"required": false,
"initialValue": {
"type": "accountAttribute",
"attributes": {
"sourceName": "NetSuite",
"attributeName": "custentity_mgmt_level"
}
}
},
...