From REJECTED
If you check the data import status and find the response statusCode as REJECTED, the imported file did not pass data validation because at least one data entity in the file was invalid.
Example response with REJECTED status
{
"errors": null,
"validationErrors": null,
"data": {
"importProcessId": "DIM-2087",
"source": {
"sourceName": "OG-Swagger",
"sourceRef": "2",
"sourceLink": null
},
"statusCode": "REJECTED",
"validationId": "DIM-1999",
"dispatchId": null,
"validationStatus": [
{
"validationStatusId": "DIM-4999",
"sourceName": "ACCOUNT.ACCOUNT_TRANSACTION",
"statusCode": "SUCCESS",
"entryCount": 0,
"processedCount": 0,
"message": null
},
{
"validationStatusId": "DIM-4998",
"sourceName": "ACCOUNT.ACCOUNT",
"statusCode": "SUCCESS",
"entryCount": 0,
"processedCount": 0,
"message": null
},
{
"validationStatusId": "DIM-4997",
"sourceName": "LOAN.CONTRACT",
"statusCode": "SUCCESS",
"entryCount": 0,
"processedCount": 0,
"message": null
},
{
"validationStatusId": "DIM-4996",
"sourceName": "PERSON.PERSON",
"statusCode": "FAILED",
"entryCount": 1,
"processedCount": 1,
"message": null
}
],
"validationErrors": [
{
"source": {
"sourceName": "PERSON.PERSON",
"sourceRef": "0759269-5-OH-54",
"sourceLink": null
},
"fieldName": "customerType",
"errorCode": "err.personCustomerTypeInvalid",
"errorValue": "someTypeCode",
"errorMessage": null,
"originalSource": {
"sourceName": "SileCube-Persons",
"sourceRef": "CN-IM-OH-rep-54",
"sourceLink": null
}
},
{
"source": {
"sourceName": "PERSON.PERSON",
"sourceRef": "0759269-5-OH-54",
"sourceLink": null
},
"fieldName": "identificationNumbers",
"errorCode": "err.idNumberOnePrimaryRequired",
"errorValue": null,
"errorMessage": null,
"originalSource": {
"sourceName": "SileCube-Persons",
"sourceRef": "CN-IM-OH-rep-54",
"sourceLink": null
}
}
],
"dispatchStatus": null
}
}This error suspends the whole data import process. To continue, choose one of the failover options described below.
Recommended failover actions
You have two failover options:
Discard all imported data entities. Use this option when you want to restart the data import process for the entire dataset.
Keep valid entities and discard rejected entities. Use this option when you want to keep successfully validated data entities and discard rejected entities only.
In both options for complete failover, create an adjusted data import file for discarded data entities and start a new data import process.
Last updated
Was this helpful?