Error when try to display content with FolderBrowserWidget

Options

We are trying to display a folder of the content server with the widget: FolderBrowserWidget, but we are getting an error:
Error: The browser refused to make the server call. Check that the server is accessible and that the CORS is enabled for this application. The console and network panels from the browser debugging tools may show more information.

Comments

  • What error do you see at the browser console?

  • Hi Ferdinand,

    Here you can find the image of the error that is showing the browser console

    Thanks in advance for your help.
    Regads,

  • The CS REST API adds the necessary CORS headers automatically (in OScript). Do you have any front-end web server customization handling those headers too?

    If you do not, could you provide the actual Access-Control-* response headers sent by the server, please?. The browser developer tools unfortunately do not reveal them, if the CORS check fails. Fiddler can be used to discover them, for example.

  • Hi Ferdinand, thanks for your help.

    The issue was solved, doing the installation again of the widget module.

  • Hi ,
    We are facing the same above mentioned issue while working with content server 10.5 , We don't see any Access-Control-* headers in server response in fiddler. Have you done any thing extra to resolve this apart from widget module reinstallation.

    Below is my error.

    enter image description here

    Below is fiddler response.

    enter image description here