Pdf is not getting displayed

Hi Everyone,

I am not able to display pdf in action center. Could someone please suggest us how to resolve this error.

@Suvera_Bhanu

Is ithappening with all pdfs? Or any specific pdf?

Did you give the permissions properly?

Cheers

@Anil_G ,

With all pdf’s it is happening the same. Could you suggest what permissions I need to give

@bhanusai_sajja

Could you please show the dependencies you are using in your project for DU?

What version are your dependencies?

Have you never been able to open pdfs or just started happening?

@sonaliaggarwal47 ,

I am using UiPath.Documentunderstanding.Activities ( Latest version) dependency.

Yes,

Could you please show screenshot of your dependencies? We need to see all and their versions

@bhanusai_sajja

Storage bucket permissions need to be given to the user

Cheers

@sonaliaggarwal47 ,

Please find the below screenshot.

@bhanusai_sajja

Looks like error you are getting is related to node.js version you are using.

https://stackoverflow.com/questions/78415681/pdf-js-pdfjs-dist-promise-withresolvers-is-not-a-function

@bhanusai_sajja

Could you please upgrade du package if it’s older. I can’t see the version in screenshot.

Also, please verify below

  1. Does the storage bucket exist in the same folder as the task?
    – If not, use the Storage Folder Path property.
  2. Does the user you are using have the permissions for storage buckets and uploading/updating/deleting files in the storage buckets?

@sonaliaggarwal47 ,

Could you suggest me the steps to install node.js. But i have installed node.js but some steps are not done properly.

@sonaliaggarwal47 ,

Currently i am using pro trial version.

@bhanusai_sajja

See if below article helps you

@sonaliaggarwal47 ,

My current node.js version is v22.16.0

@sonaliaggarwal47 ,

I have already installed it but don’t know still why I am getting the error.

Hi @Suvera_Bhanu

First, ensure that the storage bucket path you’ve provided belongs to the same folder in Orchestrator.

Next, verify that the required storage bucket permissions have been granted to the specific user..

Hope it helps!!