Preview PDF files from storage bucket isn't rendering in Action Centre (Version 2021.10.3) on-premise

Hi Folks,

We have recently set up the Action Center (version 2021.10.3) on our on-premises system. During our testing phase, we encountered the following issues with the Action Center:

Images from the storage bucket are rendering correctly, however, we have encountered an error when attempting to preview PDF files. Please find the attached error message below:


Can someone help me to fix the issue? Thank you in advance.

Hi @dotbot ,

Hope you’re doing well,

Firstly, I want to confirm whether you have already completed the necessary CORS steps for your On-Premises installation?
These steps ensure that Cross-Origin Resource Sharing is properly configured to allow communication between different domains both (orchestrator & Action center). If you haven’t performed these steps yet, please follow below steps.

To configure Orchestrator settings to accept storage bucket requests from Action Center, please follow these steps:

  1. Navigate to the installation folder of Orchestrator.
  2. Locate and open the file named UiPath.Orchestrator.dll.config with administrative permissions.
  3. Inside the file, under the <appSettings> tag, look for the following key: <add key="AcceptedRootUrls" value="http://{your_localhost_name}:{port_number}" />. If you cannot find this key, you can manually add it.
  4. Append the URL of your Action Center to the value of the key. For example, if your Action Center URL is “https://{Action_Center_host}:{port_number}”, add it to the existing value. The modified key should now look like this: <add key="AcceptedRootUrls" value="http://{your_localhost_name}:{port_number};https://{Action_Center_host}:{port_number}" />.

And also check if the OPTIONS verb is allowed in IIS for the Orchestrator website and enable it if necessary, follow these steps:

  1. Open Internet Information Services (IIS).
  2. From the Sites list, select “UiPath Orchestrator.”
  3. Double-click “Request Filtering” to open the Request Filtering window.
  4. Navigate to the “HTTP Verbs” tab.
  5. Look for the OPTIONS verb in the displayed list. If it is already present, then it is allowed, and no further action is required. If it is not present, continue to the next step.
  6. Right-click anywhere in the window and select “Allow Verb” from the context menu.
  7. In the dialog box that appears, enter “OPTIONS” as the verb and click “OK.”

Please find official UiPath documentation link for your reference.
[Orchestrator Settings to Accept Storage Bucket Requests From Action Center]

(Action Center - Installation)

Hope this will help.

1 Like

@Ahmed_Nizamuddin1 Thanks for your solution. It worked for me like a charm. You truly saved my day.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.