Error message: Due to service inactivity, the client buffer exceeded the maximum size, resetting the buffer, did you update the subscription info
**Service **: Azure cognitive speech-to-text service
Description: I am using speech-to-text .net SDK and developing a system to convert event audio recordings to text, the audio file could be any size but I am getting intermittent above errors for a 60-minute recording. I have a standard pricing plan and there is no option to upgrade as it is also asking to update your subscription.
Once I got the error it stopped the converting in the middle and we needed to run again the program.
Please refer below screenshot
Expectation: It should run without fail and not stop converting the text.

The above error occurred because the resource you are trying is inactive, or the service might require refreshed credentials or an active subscription. Check if the speech service resource is available in the Azure portal.
I tried the code below to convert an 80-minute .wav file to text and successfully converted it into speech-to-text.
Code :
Output :
It ran successfully and converted the speech to text, as shown below.