Templates Plugins Courses

Agora plugin token works for streaming, but not cloud recording

For some reason, I’m able to generate a token in the plugin and it works great for starting a stream.

However, Agora gives a 404 error when cloud recording and it’s due to the token not working. I know that the token is the problem because when I use the temporary token from Agora’s website, it works fine.

Do you know why the token only works for streaming and cloud recording?

Hello, @danielfrenkel
Thanks for your question.

Firstly, please note that in case the streaming recording not working within your application, the main reason could be indeed the created Token.
Very important is the creating this token every day ( the token’s availability is 24h ).

Please carefully analyze each step from the documentation for the Stream Recording: https://docs.zeroqode.com/plugins/agora-api-connector-plugin/agora-streaming-component/agora-cloud-recording-for-streaming-component#plugin-elements

Go to the Project Management tab in your Agora account and pass to Generate Temp Token opposite your application name:

The channel name, that should be set in Plugin action, is the same as in your Agora dashboard:

Please check all these points and let me know if it works on your side.

Best regards,