REST API Call To Social Network From A Sites Component Fails

(Doc ID 2387694.1)

Last updated on APRIL 18, 2018

Applies to:

Content and Experience Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

When trying to connect to https://instancename-domainname.socialnetwork.us.oraclecloud.com/osn/social/api/v1/groups from a Sites component, unless logged into Content and Experience Cloud (CEC) UI prior to hitting the page the authentication fails.

Without logging into the CEC UI, in browser, sees "Status: error error" in the page instead of the expected content.

Error seen in browser console when "Status: error error" appears:

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms