Hello,
You need to delete the output(s) attached to the event before stopping the live event.
Deleting the output will not delete the recorded data if you keep the asset. Deleting the output will only stop the recording from the live event.
"Stop API" for Live Event - Error "InvalidResource"
I'm setting up a live event and want to use the Rest API commands to start and stop the event. Start works but Stop returns with the error message of "InvalidResource" even though the resource name and location are the same as the start (see below for error).
"error": {
"code": "InvalidResource",
"message": "Exception of type 'Microsoft.Media.Streaming.Common.Api.Types.ApiException' was thrown."
Secondary question: Rest API's seem to be the only way to end a live event without deleting outputs. Is this true? is there a way to end a live event but NOT delete the event outputs?
2 answers
Sort by: Most helpful
-
Xavier Pouyat 591 Reputation points Microsoft Employee
2021-06-08T13:32:27.533+00:00 -
Zhi Yong 1 Reputation point
2022-08-27T14:52:22.863+00:00 Hi there,
I tried deleting the output as instructed before stopping the live event, but I'm still faced with the same error.