a!richTextDisplayField( value: a!richTextItem( text: "Download Document", link: a!documentDownloadLink( document: todocument(110854) ) ) )
I am trying to download a document (The document exists in the folder ) but it is giving an error like:
{ "error": "APNX-1-0000-000", "message": "Unable to find File for content object with id: 110829", "title": "An Error Has Occurred" }
Discussion posts and replies are publicly visible
Hi @pritamk3416, This error usually means that Appian cannot find the document by ID, even if the document exists in a folder.
1.Make sure the user viewing this link has at least Viewer access to the document.
2.If the document was generated in a process, make sure it's not deleted or restricted by process security.
3.Try debugging in text field readonly with DocumentId. Try re-uploading one of the problematic files and see if the issue persists with the new document ID.
This will work??