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

Hi Peter,

We have recently encountered same error where the API integration user is always getting target not found error when ever an attachment operation is performed. So we suspect that the API user doesn't have access roles.

Hence can you please share the screenshot of how the roles were granted to API user for the attachment table so that it can read the records that it create.

Regards,

Padmaja.