You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OAuth 2.0 Refresh-token based EPM Automate login fails

Summary:

Refresh-Token based EPM automate connection fails

Content (please ensure you mask any confidential information):

Groovy code to execute Recompute ownership module works perfectly fine with basic authorization. Replacing the basic auth with OAuth 2.0 Refresh-Token/ClientID fails with error:

EPMAT-1:Unable to fetch access token 401

To note: ClientID having Service Admin access.


Version (include the version you are using, if applicable):


FCCS Cloud


Code Snippet (add any code snippets that support your topic, if applicable):

EpmAutomateStatus pwdEncrypt = fccsObj.execute('encrypt','<Refresh-Token>','encryptKey','Pwd3.epw','ClientID=<ClientID>')

EpmAutomateStatus fccsLogin = fccsObj.execute('Login','<ClientID>','Pwd3.epw','https://xyz.epm.us-phoenix-1.ocs.oraclecloud.com')

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!