Error Handling : Send error response to OOB Import Set insertMultiple API

Amit Naik1
Tera Contributor

Hello All,

I am trying to insert multiple records to a table via OOB Import Set API and a transform map.

api/now/import/{stagingTableName}/insertMultiple

I also have few mandatory field validations to be done, for that I have enforced mandatory fields in transform map.
But while testing it, if the mandatory validations fails I am not seeing any error response sent whereas I only see response similar to below regardless of the insertion to the table is success or not,

{
    "import_set_id": "{{sys_id}}",
    "multi_import_set_id""{{sys_id}}"
}


Kindly request you to help me out to figure out if there is any way that I can send an error response if the mandatory check fails while using OOB Import Set insertMultiple API.

@Ankur Bawiskar @Brad Tilton @Chuck Tomasi @asifnoor : Tag you people if I can support.

0 REPLIES 0