The CreatorCon Call for Content is officially open! Get started here.

Target record not found, but created successfully through import set?

peterraeves
Mega Guru

We are developing an inbound web service and encountered the situation where the error_message says 'Target record not found', while the record is created successfully without any errors. I tried with an admin user and then it worked completely, but with a user having the import_transformer role, it only creates the problem, but does not show the resulting record. Does anybody know what might be the issue at hand here? Why can he not view the correct result?

Image 7.png

Image 8.png

1 ACCEPTED SOLUTION

The problem was that the user did not have read rights on the problem table. Since it could not retrieve the record it had created, it believed it did not work. After giving the correct read roles it worked.

View solution in original post

5 REPLIES 5

corina
ServiceNow Employee
ServiceNow Employee

Hello Peter.



Does the user with role import_transformer have read ACL on the table problem?


He didn't and that was indeed the problem. Thanks Corina.


rajkrish
Tera Contributor

Hi Peter,

Kindly let me know if you found the solution.

 

Thanks,

Raj

The problem was that the user did not have read rights on the problem table. Since it could not retrieve the record it had created, it believed it did not work. After giving the correct read roles it worked.