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
Normally if Appian doesnt find a document it gives Invalid Content Id error. So it doesnt look like a document existence issue. For starters I suggest the below -
1. Check the security applied to document/parent folder to confirm you have access permissions as expected
2. Check the tomcat-stdout log if it contains more details on the error