on 08-01-2022 4:14 PM
I 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
Hi Jeff,
thanks for reaching out to us.
Could you please share your project via git?
BR,
Markus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have started the journey all over from scratch. Now I am able to deploy the app on CF with no error, but when I try to test I get a "redirect" error:
Is this correct in the .yaml file:
I also tried it with the blue line in the box above commented out and the last line uncommented. That gave a "redirect" error also.
Any ideas?
Thanks,
Jeff
User | Count |
---|---|
10 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.