cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Build Apps BTP Destination Not Working When Deployed - Works in Preview

tokgozatakan
Participant
0 Kudos
122

I have created the destination shown below, then connected it to Build Apps via Universal REST API integration. 

tokgozatakan_2-1725536913875.png

It works well when I click on test, or in the preview. 

tokgozatakan_0-1725536598369.png

tokgozatakan_1-1725536662336.png

However, when I deploy it and open it, the destination returns 500 without any explanations. 

tokgozatakan_3-1725537042873.png

Has anyone come across a similar issue? 

 

View Entire Topic
tokgozatakan
Participant
0 Kudos

When I checked the application logs, I can see the error coming from the destination.

Retrieval of OAuthToken failed due to: Unable to fetch refresh token from the specified token service URL. Response was: Bad credentials

I am able to replicate the same issue with postman:

tokgozatakan_0-1726235370114.png

tokgozatakan_1-1726235584138.png

The credentials are actually correct, I am able to get bearer token from my other OAuth2SAMLBearer destination for another system.