Skip to main content
June 9, 2025
Question

Error while downloading document

  • June 9, 2025
  • 11 replies
  • 0 views

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"
}

11 replies

venkatrea696188
June 9, 2025
June 9, 2025

25.2

venkatrea696188
June 9, 2025

The above KB is for older versions (it might not be an issue).Can you check whether you have the all required permissions and is it returning document name when you call it in standalone like todocument function

harshas2775
June 9, 2025

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 

shubhama926776
June 9, 2025

When I looked closely, I noticed that the error id 110829, but your code uses 110854. Please ensure you’re using the correct document ID.
If the issue persists, verify that the user has the necessary permissions to access the document.

June 28, 2025

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.