i link: a!documentDownloadLink(document: fv!item.appianDocId ),
used the above two lines to download a document but it does not download , it open a tab with a message error : { "error": "APNX-1-0000-000", "message": "Invalid Content ID", "title": "An Error Has Occurred"}
Discussion posts and replies are publicly visible
look like that appianDocId is not exist or deleted.
Try to search that is in objects with type UUID or ID. Im sure you will not find that.