@S S Speaker recognition feature requires access to be approved by the speech service team. Did you apply for access before by submitting this form?
If you have already applied and your request is approved. The error might be for a different reason, try to enable SDK logging to check if more details can be printed in the logs. Thanks!!
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.