Jitsi not recording


I have hosted Jitsi on AWS and I followed all the steps to install Jibri vor view recording but as soon as I click on start recording it says recording has stoped its not even starting the recording can somebody please help me out here

Have you checked the logs for any pointers?

getting the attached error in java script console when clicking on recording button