-
Notifications
You must be signed in to change notification settings - Fork 17
[URGENT] Unable to retrieve Destination from BTP Subaccount #785
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @Throome, from what we can see from your screenshots and the appended files we cannot see any immediate problems or mistakes. The root cause might lie with the service bindings, but we cannot say much from the given information. What is necessary for us to understand the problem better is the actual exception that is in the Best, |
Hi @Jonas-Isr , I put my code in a try block and I can see why it failed now. SAP Cloud SDK version: 5.18.0 (5.17.0 also not working)
The service bindings are defined in mta.yaml and were freshly created when I deployed my app to Cloud Foundry. Troubleshooting Exception Callstack Log file demo-2025-04-25 15_13_13.000+0000.txt My stacktrace
Maven dependency:tree
|
Ask the Question
Hello team, I hope you are all doing great!
I'm currently tasked with upgrading the SAP Cloud SDK from version 3 to version 5 to ensure compatibility with SAP Java Buildpack 2 on Cloud Foundry.
We have more than 80 Java modules that need to be upgraded before July 1st, when SAP Java Buildpack 1 will be removed.
In version 3, we used com.sap.cloud.sdk.s4hana.connectivity.ErpHttpDestinationUtils to retrieve destinations without issues.
In version 5, this class has been removed, and I'm now using DestinationAccessor to get the destination, as described in the BTP Destination Service Integration
Currently, I’m struggling to retrieve the destination from the BTP Subaccount Destination.
I have attached a small sample project below.
If possible, could you kindly take a look at it?
sapcloudsdk.zip
JWT, tenant, and principal retrieval are successful, but retrieving the destination is failing:

Environment:
Checked list
Thanks, and I look forward to hearing from the team.
The text was updated successfully, but these errors were encountered: