SRM API: 401 Unauthorized Error When Trying to Connect to Messages Endpoint

(Doc ID 2371884.1)

Last updated on MARCH 09, 2018

Applies to:

Oracle Social Relationship Management Cloud Service - Version N/A to N/A [Release V1]
Information in this document applies to any platform.

Goal

Creating a call to the SRM API to get messages from Engage results in a 401 Unauthorized response.

URI: https://public-api.vitrue.com/engage/v1/messages?bundleId=<bundleId>
Request: GET with access token form previous request
response:
{
"type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2",
"title": "Unauthorized.",
"detail": "The user credentials provided with the request are invalid or do not provide the necessary level of access.",
"status": 401
}
 Please advise.
 

Solution

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