Unexpected server response (403) while retrieving PDF

Hi,

On the local server when we tried to run the annotation screen it is given this error due to file URL and library location.
Please suggest why this error given. It is working on live server.

Thanks.

Hi there,

If this is working on a live server but not on localhost, this is most likely due to the path attribute in the WebViewer constructor not pointing to the right location where the static files are located.

Please see this guide for reference:

Best regards,
Kevin Kim