cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CAP JAVA accessing business rules destination is giving bad credentials error

sk_ramkumar
Participant
0 Kudos

Hi Experts,

I am trying to access Business rule destination defined in BTP through DestinationAccessor but it is giving below error,

"Failed to read authentication token of destination 'BUSINESS_RULES_BPA'. The destination service responded with an error: 'Bad credentials'.

 

This is my code to access the destination,

DestinationAccessor.getDestination("BUSINESS_RULES_BPA").asHttp()

Screenshot 2024-02-01 at 11.00.56 am.png

The same client secret and password is working fine in Postman.

Thanks in advance.

Ramkumar

Accepted Solutions (0)

Answers (0)