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

Basic Authentication Fails with “Bad Credentials” When Calling SAP Integration Flow Endpoint

0 Kudos
143

I have created an integration flow using HTTPS and registered the service instance. I am using the API endpoint generated by the integration flow and have assigned the service keys. In Postman, I am attempting to authenticate using Basic Authentication with the client ID and client secret from the service key. However, Postman returns a “Bad credentials” error. What can cause that issue?

patryk123123123123123_0-1750065380407.png

patryk123123123123123_1-1750065442380.png

 

 

Accepted Solutions (0)

Answers (2)

Answers (2)

RameshVaranganti
Participant
0 Kudos

get the iflow endpoint URL from deployed artifacts

  • Monitoring Tab--Manage Integration--then get the URL
  • Also check , in the service key some trial info is present. 
gbaca-fioneer
Discoverer
0 Kudos

Hi.

I'd recommend using Google before asking questions to the community, this is a common error that has been answered a lot of times. You can have a look at Setting up inbound HTTP connections - Integration flow processing. You're basically trying to use a client ID and secret as a user and password, when you need to get a token to call the iflows. You can see that the www-authenticate header is telling you it expects a Bearer.

Also I'd recommend deleting that service key and instance and creating a new one. You're basically opening up your tenant to anyone by posting your service key here.