cancel
Showing results for 
Search instead for 
Did you mean: 

iFlow - HTTP operation failed invoking https - 401 Auth Error

TheAnji
Explorer
0 Kudos
217

Hi,

We are trying to fetch Token from Ariba API using Basic Auth Credentials.

Getting below error.

 

Error Details
com.sap.it.rt.adapter.http.api.exception.HttpResponseException: An internal server error occured: HTTP operation failed invoking https://api.ariba.com/v2/oauth/token with statusCode: 401. The MPL ID for the failed message is: xxxxx
 
 
Steps we performed:
Content Modifier>Message Header:
Create - Authorization - Constant - Value: Basic 12345677
 
Http Connection:
Query: grant_type=client_credentials
 
It is working fine through Postman.
Could you please help.
 
Thank you.
 
 
View Entire Topic
TheAnji
Explorer
0 Kudos

Passed Client ID and Client Secret instead Basic Auth. It fixed the issue.