Thirdparty Images Not Showing On Preview Mode For A Site In Multi Site Environment
(Doc ID 2585545.1)
Last updated on OCTOBER 11, 2019
Applies to:Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.
For a Multi-Site environment while performing preview mode, getting "404 error" for images uploaded under /thirdparty using Admin API "/ccadmin/v1/files/" and publish under site specific folder.
This issue can be replicated at will by following below steps:
1. For a site, set "Site Base URL" other than ccstore url by referring below steps:
a) Navigate to ccadmin --> Settings --> Select the site for which facing issue.
b) For the selected site, change the "Site Base URL (required)" value other than ccstore url and apply changes i.e. ccadmin-test-xxxx.oracleoutsourcing.com instead of ccstore-test-XXXX.oracleoutsourcing.com.
2. Upload image files using API "/ccadmin/v1/files/" (refer doc for details : https://docs.oracle.com/en/cloud/saas/commerce-cloud/cxocc/api-admin-files.html ).
3. Test application site in preview mode and notice the 404 error for reference images uploaded using API in step 2.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document