My Oracle Support Banner

REST Call To listSites In Preview Fails With 401 Unauthorized (Doc ID 2309413.1)

Last updated on OCTOBER 03, 2021

Applies to:

Oracle Commerce Cloud Service - Version 21.1.1 and later
Information in this document applies to any platform.


When widget script uses the ccRestClient JavaScript function to access the list of sites it works on storefront servers, but on the Admin's preview of the store pages, the ccRestClient call to listSites fails with a 401 Unauthorized HTTP response.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.