It looks like you’re using the web transcription sdk and are listening for the caption-message event
Looking at the guide and before you can listen to captions, you must have a separate license to use this feature. If you do not have a license, you will receive an error
Once you have the license and the feature enabled, you must initialize it with the client.getLiveTranscriptionClient function
and then start the transcription like the following: