Skip to main content
September 20, 2022
Question

403 forbidden in Document Viewer

  • September 20, 2022
  • 6 replies
  • 0 views

Hi Guys,

we are facing the below issue in the document viewer.

i do have admin access for this pdf which i am accessing to and i can able to download (via link field), but not really sure of the root cause for this .

6 replies

hishoren
October 3, 2022

You need to configure the static and dynamic for the document viewer. Have you configured it?

harshitb6843
October 3, 2022

Did you try with any other documents of the same type that sit in the same folder? How are they behaving? 

aravind.sAuthor
October 3, 2022

the issue is sorted now , there was configuration change required in webserver which caused the 403 error . thanks for checking out 

February 2, 2026

May i know what is the exact fix for this. Because i face the same issue . Im using documentViewerField to view the PDF document. 

Its working in DEV. But in QA I'm getting 403 forbidden error and cannot view the PDF document in DEBUG . [mention:6d784e8d0fcc48c8a8e36515b6f94ae1:e9ed411860ed4f2ba0265705b8793d05] 

[mention:b8ea18cfbb2e4f6d841cf3c1d4d7420b:e9ed411860ed4f2ba0265705b8793d05]