cancel
Showing results for 
Search instead for 
Did you mean: 

401 Unauthorized error - CLD200 - perfroming a manual deployment Excercise

govindturka
Product and Topic Expert
Product and Topic Expert
0 Kudos

 am doing this exercise and I am able to do it all the way except last step where I click on business partner and I am supposed to see the business partner data from API hub sandbox environment. I am getting 401- unauthorized error. Then I recreated the whole exercise but no success. I can see my applications with route url in my BTP account and cf push also is success with instance running. I can stop , restart the application from CLI and from BTP account. I then checked my destination service connection and it gives me same authorization error that connection established but unauthorized response. When I test the service in API hub , the response comes back 200 OK and I can see the response so API is working fine there. I read some blogs and tried to pass API key different ways(other than mentioned in exercise, i verified as well with cf env risk-management-srv) and I tried some commands told in those blogs but no success. Can anyone please help? Can anyone give package.json code as well as it seems the excercise screenshots have some extra code but not sure.

Step n: Open the browser tab with the running service. The BusinessPartners endpoint should now provide the data from the external service, the SAP API Business Hub sandbox environment.Try to open the other service endpoints. The corresponding data should appear. Just now, it is not stored in an SQLite database, but in your SAP HANA Cloud trial HDI Container. SAP BTP, Cloud Foundry runtime and environment @markushaug unauthorized.JPGdestination unauthorized.JPG

markushaug
Product and Topic Expert
Product and Topic Expert

Hi, would you please provide a Git Repository for your project? This makes it easier for us to investigate on it.
You can follow these steps to create and connect your project in the SAP Business Application Studio to a GitHub Repository:

https://learning.sap.com/learning-journey/developing-with-sap-extension-suite/creating-and-connectin...

govindturka
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi @markushaug , thanks for sharing steps. This part of creating and connecting to GIT is later in the content so I did not know it. but here it is now https://github.com/govindturka/RiskManagement . looking forward to solve this.

tomjohn_br
Explorer
0 Kudos
Hi, Did you already solve this issue? I am also facing the same error...
View Entire Topic
OanaVlazan
Employee
Employee
0 Kudos

Hi all,

Did you find any solution for this?

If not, were you able to continue the next exercises without this step?

Thank you!