Issue Calling GET Request REST API Of Contacts In Oracle Service Cloud

(Doc ID 2310471.1)

Last updated on SEPTEMBER 24, 2017

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.12.1.0.0 and later
Information in this document applies to any platform.

Symptoms

On : Release 12 version, CX Integration

Issue GET request REST API of contacts in Oracle Service Cloud

Customer is trying to make a web service REST API in Oracle Sales Cloud (R12) to search for the contacts that exist on Oracle Service Cloud. However when they make a GET request from the URL of Oracle Service Cloud, they get an error

If they make the GET request using POSTMAN for example, it works fine and they get all contacts on Oracle Service Cloud. If they make a GET inside Oracle Sales Cloud, It does not work the GET from the REST API for the Oracle Sales Cloud Service URL.

The script used to get the contacts from Oracle Services Cloud with REST API:

def httpHeaders=['Content-Type':'application/vnd.oracle.adf.resourceitem+json'];
conn.requestHTTPHeaders=httpHeaders;
 

ERROR
-----------------------
Exception in expression "oracle.apps.cdm.foundation.parties.publicModel.persons.entity.PersonDEO" trigger "Verify_contact" : oracle.binding.expr.ServiceInvocationException Unexpected exception caught: oracle.adf.model.connection.rest.exception.RestConnect

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Login to Sales Cloud
2. Navigate to Contacts -> Create new contact
3. Fill in details and Save and Close
4. Getting an error.

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot save contacts

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