Troubleshoot Integration Issues
If the OCM document collaboration integration did not work as expected in the Oracle Sales and Service business object, then the following steps can be performed to identify the issue:
If the OCM integration is not working as expected:
- If the Documents tab is missing from the Oracle Sales and Service business object, verify that the current user is in the correct Oracle Sales and Service sandbox and that you're creating the business object (in this case opportunities) that has been implemented for this integration.
- If you get the following error, make sure that the API
Authentication has been configured correctly and that the Web Services are using
this
connection:
oracle.binding.expr.ServiceInvocationException: JBO-29000: Unexpected exception caught: oracle.adf.model.connection.rest.exception.RestConnectionException, msg=JBO-57001: Invocation of service URL used in connection failed with status code 401 Unauthorized.
- Make sure that the current user has enterprise access to OCM.
- Verify that the user logged into the Oracle Sales and Service application is also the same user logged into OCM.
- Review all steps in the documentation above to verify that they have been completed and with the correct values. Use the images given in the steps as they should look identical to what you have configured.
- Verify that the OCM server URL is configured correctly in the Web Services as
well as the Mashup (not the
<OCMServerURL>
as seen in the figures). - Verify that the Token URI is configured correctly in the Web Services IDCS OAUTH
security (not the
<idcsServerURL>
as seen in the figures). - Log in as the OCM enterprise integration user and verify that
a folder is created under the OCM parent folder with the name of the Oracle
Sales and Service business object. If not, then verify that the
OCMRootFolderId
variable is correct. - Verify that the user was shared to the related OCM folder by selecting Members in the upper right of the OCM UI.
If the OCM embedded UI is still not loading look at the Oracle Sales and
Service debug logs:
- Make sure you’re in the sandbox that you create for this integration.
- Choose Tools and Application Composer from the upper left of the page.
- Select Common Setup and then Runtime Messages from the left navigation menu.
- Select the Enable Application Script Logging check box.
- Create a new Oracle Sales and Service business object with this OCM integration and once created, select the Document tab within the object.
- Walk through the part of the integration that is failing (for example, Create New Opportunity).
- Go back to the Runtime Messages to see if the logs give you more information about why this integration might have failed.