Expand my Community achievements bar.

SOLVED

Report.Cancel not working

Avatar

Former Community Member

I have reports in the queue that I'd like to clear. Previously, I could accomplish this by calling the Report.Cancel method. For a few months now, this has not worked, and I instead receive a response of:

When trying in the API Explorer, I receive a message of:

This has been reported by others, e.g.: Cancel Report Function returning with error each time. · Issue #222 · randyzwitch/RSiteCatalyst · Gi...

I'd appreciate any insight/assistance.

1 Accepted Solution

Avatar

Correct answer by
Employee

You may want to try the same thing using the 1.3 version of the API for now.

'curl -X "POST" "https://api.omniture.com/admin/1.3/rest/?method=Report.Cancel&debug=1" -d "{\"reportID\":\"2103407548\"}"'

If this is the same issue I am seeing, it should be fixed soon since it is on our list.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

You may want to try the same thing using the 1.3 version of the API for now.

'curl -X "POST" "https://api.omniture.com/admin/1.3/rest/?method=Report.Cancel&debug=1" -d "{\"reportID\":\"2103407548\"}"'

If this is the same issue I am seeing, it should be fixed soon since it is on our list.

Avatar

Former Community Member

Thanks, ChrisS_ws​; worked with a tweak to the function name, i.e.

URL = https://api.omniture.com/admin/1.3/rest/?method=Report.CancelReport&debug=1

Just cleared a bunch of reports that were clogging up the queue. Look forward to the fix for 1.4, but in the meantime, I'll definitely take a working 1.3 version over nothing.