Hi everyone, I am trying to use REST call to reactivate a closed alert so I found this one: https://developer.sas.com/rest-apis/svi-alert/createPerformActions and the code I wrote works and reactivates the alert properly. Then I made a loop that will loop through a list of alerts and reactivate every one of them, but that only works for the first one, all other alerts give this response: {"errorCode":403,"message":"Forbidden","details":["path: /svi-alert/alertActions/REACTIVATE"],"links":[],"version":2,"httpStatusCode":403} This also happens if I try to reactivate only one alert. The first one reactivates, and every other returns 403 Forbidden. But when I click the "Reset SAS Session" button in SAS Studio, and try again, it works again. So I thought that it is due to the bearer token of the session and that I need a new token for every alert I wanted to reactivate and I put that inside of a loop, but it still returned forbidden for all other alerts. Does anyone have any idea on why it works only the first time the session is opened? This is the first time I had problem like this, other endpoints are working very well even in loops when doing something to multiple alerts. What else is changed when I reset the session, do I need to reset some other token other than bearer in order to reactivate multiple alerts at once? Thanks, David
... View more