Click HERE to see how Saviynt Intelligence is transforming the industry. |
09/05/2024 06:48 AM
Hello,
I am getting response "runtime v2 analytics not found"
I am using API fetchRuntimeControlsDataV2 for runtime analytics as below:
When I am sending from POSTMAN:
Do you have an idea why?
Solved! Go to Solution.
09/05/2024 07:31 AM
Hi @BG_IAM did you create it as a runtime analytics.. do you see a clock/timer after analytics on UI?
09/05/2024 07:37 AM
Yes, it's runtime analytics. Details in the screenshot attached in previous post (analyticsconfig).
09/05/2024 07:38 AM - edited 09/05/2024 07:38 AM
09/05/2024 07:52 AM
I am using: <URL>/ECM/api/v5/fetchRuntimeControlsDataV2
Runtime analytics were created on version 24.7v. However, in the analyticsconfig, I can see that the column ACTIONJSON has the version set to "v1". Could this be an issue?
09/05/2024 08:01 AM
Recreate report and try
09/05/2024 08:25 AM
its re-created but I'm getting the same error.
Here's a corrected version of your text:
"attributes: {} is mandatory in the BODY if I don't use variables for analytics? The API documentation says it is. Could this be the reason?
09/05/2024 08:29 AM
Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️
09/05/2024 09:38 AM
curl --location 'https://<URL>/ECM/api/v5/fetchRuntimeControlsDataV2' \
--header 'Content-Type: application/json' \
--header 'Authorization: ******' \
--header 'Cookie: CCSRF-TOKEN=<some string>; INGRESSCOOKIE=<some string>; access_token=<token>; token_type=Bearer; user_name=<username>' \
--data '{
"analyticsid": "11"
}'
09/05/2024 09:56 AM
curl --location 'https://XXXX.saviyntcloud.com/ECM/api/v5/fetchRuntimeControlsDataV2' \
--header 'Authorization: Bearer "xx' \
--header 'Content-Type: application/json' \
--data '{
"analyticsid": "121601"}'
Try above also share screenshot from analytics list tab for report
09/05/2024 09:56 AM
@BG_IAM
Can you also share the image of the analytics config you created?
09/05/2024 01:11 PM
09/05/2024 01:33 PM
Please share from outside does report name have icon(runtime)
09/06/2024 01:36 AM - edited 09/06/2024 01:36 AM
09/06/2024 01:58 AM
is there any input parameter which you have added in analytics?
09/06/2024 02:58 AM
Hi @Manu269 there is not parameter used in analytics.
09/06/2024 04:46 AM - last edited on 09/06/2024 05:23 AM by Sunil
Hi @BG_IAM ,
1) Try with this url - https://abc/ECM/api/v5/fetchRuntimeControlsData
2) If you are not using parameters, create sql query analytics and use below url (and screenshot). Though run time can be used as well but that the core usage of that is to take input from users. If you just want to run it as SQL , have sql query
/api/v5/fetchControlDetailsES
09/06/2024 09:00 AM
Hi @Amit_Malik
t seems that the API works fine: https://abc/ECM/api/v5/fetchRuntimeControlsData.
I also modified the analytics by adding a variable selectable from "attributes." It works fine in the sav UI, but with API v2, I'm still seeing the same issue: "runtime v2 analytics not found."
I'm going to use API v1 instead.
Thanks!
09/06/2024 05:46 AM
Please share transport extract of report .