on 2023 Jul 13 11:22 AM
I am learning to Build a Business Application Using CAP for Java. But on the last step "Configure Authentication and Authorization on SAP BTP" I got the access token in Postman then I hit my application API which ends with this 'hana.ondemand.com/odata/v4/AdminService/Products'
I am getting this as a response.
"error":{
"code": "50003009",
"message: "Failed to start a new transaction"
}
Request clarification before answering.
Thanks. Now it is working. I did the authentication and authorization step again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you check that your HANA Cloud instance available from all IPs? Step 5 of this tutorial can help you https://developers.sap.com/tutorials/hana-cloud-mission-trial-3.html
Can you show us what are you seeing in the logs while application is running? To do that, open new terminal in the BAS and run the following command:
cf logs bookstore
Execute your request one more time with a valid token and copy the output. You can then terminate the command with Ctrl+C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
1 | |
1 | |
1 | |
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.