My Oracle Support Banner

401 Unauthorized error while trying to execute rest api in webform (Doc ID 2442162.1)

Last updated on NOVEMBER 16, 2020

Applies to:

Oracle Integration - Version 17.4.1 and later
Information in this document applies to any platform.

Symptoms

This knowledge article reflects updated product names. Oracle Integration Classic (OIC-C) was formerly known as Oracle Integration Cloud (OIC). Please see KM for the full list of recently renamed PaaS services.

While trying to call rest api related to Document cloud service rest in a webform to populate a dropdown , it fails with '401, Unauthorized error' in the logs.

e.g. rest call : https://doctest-docdomainid.uscom-west-1.oraclecloud.com/documents/api/1.2/folders/0/items?limit=self&offset=200

Same api call works fine when called from a process using a service task.

Following messages can be seen in the logs when this issue occurs.

 

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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