Skip to main content
amank765959
New Participant
Nov 24, 2026 11:10 AM UTC
Question

Webviewer plugin unable to fetch document from Appian

Hi everyone!

I'm facing an issue while using the Apryse WebViewer plugin in Appian. Whenever I try to load a document, I get the following error:

UI Error:
"Unable to fetch document from Appian"

Backend Error:

Cannot invoke "java.lang.Number.longValue()" because the return value of "java.util.Map.get(Object)" is null

I've tried testing with multiple documents of different formats and sizes, including DOCX and PDF files, but the issue persists. These documents are accessible and open successfully in other Appian interfaces.

I've also tried using a simplified WebViewer configuration, but that hasn't resolved the issue.

Has anyone encountered a similar issue or knows what might be causing it? Any suggestions or guidance on how to troubleshoot and fix this would be greatly appreciated.
 

 

2 replies

shubhama926776
Brainy
Nov 24, 2026 4:33 PM UTC

The null error means the plugin can’t read the document through its connected system. Set docAccessConnectedSystem to a constant pointing to the Apryse connected system, and give that connected system’s service user at least Viewer access to the document’s folder.
Pass appianDocId as a plain Integer, not a Document or Text value, then refresh the page.


https://docs.apryse.com/appian/get-started/component-properties/

शुभम्
mathieud0001
Genius
Nov 24, 2026 9:55 PM UTC

I would strongly suggest getting in touch with the authors of the plugin.