on 03-09-2023 11:21 AM
Hi Experts,
I would like to do the testing on standard APIs available in SAP Cloud Integration for monitoring and I am using trial account for this test.
Based on the following help page, I have generated the service key and from the service key I took the base URI to form a actual URL to fetch the Message Processing Logs of SAP Cloud Integration.
Actual URL with Base URL : https://c924532ftrial.it-cpitrial06-rt.cfapps.us10-001.hana.ondemand.com/odata/v2/MessageProcessingL...
Whenever I call this URL, I am getting "404 Not Found: Requested route ('c924532ftrial.it-cpitrial06-rt.cfapps.us10-001.hana.ondemand.com') does not exist." error. Even in API hub try out page and in SAP Cloud Integration flow.
API Hub:
Browser:
Could you please help me on this issue?
Kind regards, Vijay
Hi Experts,
I just noticed that I used the runtime url "https://c924532ftrial.it-cpitrial06-rt.cfapps.us10-001.hana.ondemand.com/api/v1" instead of tenant management url "https://c924532ftrial.it-cpitrial06.cfapps.us10-001.hana.ondemand.com/api/v1".
Thanks for your support, I can now fetch the records from SAP Cloud Integration using standard api's.
Kind regards, Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vijay
The host name (c924532ftrial.it-cpitrial06-rt.cfapps.us10-001.hana.ondemand.com) was copied verbatim from the "url" element in the service key? What you did was correct, just keep in mind that the proper root is /api/v1, not /odata/v2.
Also, you are creating the service key on an instance of the Process Integration Runtime service, right?
I just tried this approach in a trial account, and it worked as expected.
Regards,
Morten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Morten,
Thank you for checking and responding.
Yes, I copied the host url from the Process Integration Runtime service's service key. Because I was getting errors with api/v1, I also tried with odata/v2. Thank you, however, for informing me.
I'm still having problems, and I'm not sure what I did wrong. I am just checking again.
Kind regards, Vijay
hi Vijay,
The endpoint url will be as <CPI-Tenant_URL>/api/v1.
Regards,
Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.