Share via

"Stop API" for Live Event - Error "InvalidResource"

Chris O 1 Reputation point
2021-06-07T17:16:16.117+00:00

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?

Community Center | Not monitored
0 comments No comments

2 answers

Sort by: Most helpful
  1. 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.

    Was this answer helpful?

    0 comments No comments

  2. Xavier Pouyat 591 Reputation points Microsoft Employee
    2021-06-08T13:32:27.533+00:00

    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.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.