Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Speaker Diarization API V2 - Access denied

Hi, im trying to get speaker diarization working with v2, i created a new recognizer:

matherss_0-1707453666302.png

When ever i use this with an api call, it acts as if Diarization is off, if i enable at run time in the api call using the params:

$params['config']['features']['diarizationConfig'] = [
'minSpeakerCount' => $speakerCount,
'maxSpeakerCount' => $speakerCount,
];

It gives me the error of:

{
  "error": {
    "code": 403,
    "message": "The caller does not have permission",
    "status": "PERMISSION_DENIED"
  }
}

I know the feature is in preview, I've looked all over the GCP gui to see if there was a spot to enable it. I also tried giving my user admin permissions.

Perhaps its not ready?

Thanks

1 2 937
2 REPLIES 2