# Troubleshooting for CORS Policy

# Access to Thumbnail Images Has Been Blocked

If the CHILI Publisher Server and the 4ALLPORTAL Server are placed in different domains, some issues caused by CORS policy control may occur.

If the CHILI Publisher does not show thumbnails of 4ALLPORTAL files, e.g in the "External Assets" panel, check if the following message appears in your browser tool:

Access to image at 'https://sample.4allportal.cloud/chili/api/derivate?token=xxxxx.xxxxxxxx.png' from origin 'https://sample.chili.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

To fix this problem, follow these steps:

  1. Go to 4ALLPORTAL admin snap-in General system configurations/System settings/Security.
  2. Add your CHILI publisher URL to field CORS allowed origins (e.g. "https://sample.chili.com") and save this configuration.
  3. Go to admin snap-in General system configurations/System settings/Maintenance and clear the configuration cache.
Request missing documentation