cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

401 Unauthorized error in HTTPS sender adapter in sap cpi

0 Likes
861

Hi Experts,

In Integration flow , i configured the HTTPS sender adapter. I deployed the iflow and got endpoint in Monitoring tile. I used postman to push the endpoint . Its shows " 401 unauthorized". The credential is my S-User ID which i login the cockpit account.

How i design my Integration Flow?

Sender -HTTPS(Send PO ID in Body tab via Postman)
Receiver - IDOC
Integration process - Add Content Modifier (Get PO ID in Property). Retrieve details in HTTPS in External Call .Using Message Mapping to create IDoc format (Target- IDoc).

 

Please help to solve this issue .

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Likes

We are using User Role auth.

 

gopalkrishna_baliga
Participant
0 Likes
Are you able to solve this? I am also fascing the same issue. Please explain how did you solve it?
MBischof
Discoverer
0 Likes

Hello,

Do you assign already the role MessagingSend to your user?

If you are using SAP Cloud Integration on Cloud Foundry then you probably have noticed you cannot add the default ESBMessage Send (MessagingSend) role to your user.

You will need to create a role collection to support this. 

Add this new role collection the role MessagingSend and assign this role collection to your user..

Also you need a instance to Service "SAP Process Integration Runtime".

Kind regards

Martin

 

0 Likes

As you mentioned points in comments we are done while Configuration CPI account

MBischof
Discoverer
0 Likes

Hello,

Do you assign already the role "MessagingSend" to your user?

If you are using SAP Cloud Integration on Cloud Foundry then you probably have noticed you cannot add the default ESBMessage Send (MessagingSend) role to your user.

You will need to create a role collection to support this. 

Add this new role collection the role “MessagingSend” and assign this role collection to your user..

Also you need a instance to Service "SAP Process Integration Runtime".

Kind regards

Martin