NOT_MODERATOR error in recording api

  • 1
  • Problem
  • Updated 1 month ago
Hi there,

I use .net wrapper for integration with BlueJeans.
I need to start a recording via REST API. 
When I call v1/user/{user_id}/live_meetings/{numeric_room)id}/recordings?action=start&access_token={access_token} I have always receiving the error:
{
"errorMessage": "User is not a moderator",
"errorCode": "NOT_MODERATOR"
}

The room was created by the same user. The "start recording" functionality is available in webrtc for that user.

Could you please advice?

Regards,
Nikita
Photo of Nikita Shkorodenok

Nikita Shkorodenok

  • 80 Points 75 badge 2x thumb

Posted 1 month ago

  • 1
Photo of Alphi Villanueva

Alphi Villanueva, Employee

  • 160 Points 100 badge 2x thumb
Hello Nikita,

May I ask if you're using the User Level Authentication Token to start and stop the meeting? This may prove unsuccessful if that is the case since you will need a Meeting Level Authentication Token.

You will need to use the /oauth2/token?Meeting endpoint to generate an access token. There you will be required to enter the Meeting ID and the Moderator Passcode which you can easily retrieve from the user account in question anyway. Once you retrieve the access token from that endpoint, you can then use it to start and stop the recording.

Best regards,

Alphi Villanueva
Photo of Nikita Shkorodenok

Nikita Shkorodenok

  • 80 Points 75 badge 2x thumb
Hello Alphi,

Thank you, that was very helpful.

Regards,
Nikita