Getting "Record doesn't exist or ACL restricts the record retrieval" in Attachment upload API

kahuna_windows
Tera Contributor

Trying to upload image against the case for table "sn_customerservice_case", confirmed the "table_sys_id" its correct,

 

Screenshot 2024-03-11 at 12.29.30 PM.png

 

Screenshot 2024-03-11 at 12.29.38 PM.png

 

Always getting the error as "Record doesn't exist or ACL restricts the record retrieval"

5 REPLIES 5

Mark Manders
Mega Patron

Sounds like the same issue that is resolved here: https://www.servicenow.com/community/developer-forum/servicenow-attachment-api/m-p/1878077

 

 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Hi Mark, thanks for the reply, actually I'm trying to attach photo with the case, in the question that you shared the user is trying to fetch the specific attachment

Anurag2089
Tera Contributor

Hi @kahuna_windows 

Could you please check it manually (login in as the user which you are trying to authenticate and check is it possible attaching manually)
In the table_sys_id you need to mention the sys_id of the record where you want to attach.

Anurag2089
Tera Contributor

Hi @kahuna_windows 

Could you please check it manually (login in as the user which you are trying to authenticate and check is it possible attaching manually).
In the table_sys_id you need to mention the sys_id of the record where you want to attach.