- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2016 08:37 AM
Hi,
I have a requirement to create CMDB records using REST call from 3rd party application.
When I am trying to create the record using 3rd party application I am able to insert the record but the status Showing as error.
Below is the JSON response I am getting:
"import_set": "ISET0011026"
"staging_table": "<Import set Table Name>"
"result": [1]
0: {
"transform_map": "<Transform Map Name>"
"table": "cmdb_ci_appl"
"status": "error"
"error_message": "Target record not found"
"status_message": "No field values changed"
}
}
When I am trying to do the same on Request/Incident table it is giving the Incident/Request number.
Can some one please help me on this if I am missing something here.
Thanks!
Raj
Solved! Go to Solution.
- Labels:
-
Integrations
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2016 11:22 AM
I missed giving rest_service role for the import set table which I used here.
Now I am getting response with status inserted and sys_id.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2019 02:07 AM
Hi,
I found the root of the issue myself: lack of READ ACL access to the table where I was creating/updating the records for the used User.
To whom it may be helpful, I got to this solution after looking at this Community Question: "Target record not found, but created successfully through import set?"
Kind regards,
Fábio Gonçalves