403 Request had insufficient authentication scopes. [reason: "ACCESS_TOKEN_SCOPE_INSUFFICIENT"

I'm working with google meet api, and I have this error when I try to create a meeting space from python. 

Error:

google.api_core.exceptions.PermissionDenied: 403 Request had insufficient authentication scopes. [reason: "ACCESS_TOKEN_SCOPE_INSUFFICIENT"
domain: "googleapis.com"
metadata {
key: "service"
value: "meet.googleapis.com"
}
metadata {
key: "method"
value: "google.apps.meet.v2.SpacesService.CreateSpace"
}
]

grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.PERMISSION_DENIED
details = "Request had insufficient authentication scopes."
debug_error_string = "UNKNOWN:Error received from peer ipv4:216.58.215.138:443 {grpc_message:"Request had insufficient authentication scopes.", grpc_status:7, created_time:"2024-02-17T13:56:47.399947518+01:00"}"
>

I follow this documentation: https://developers.google.com/meet/api/guides/overview?hl=es_419

I also create credentials file (ADC) with this command locally: 

$ gcloud auth application-default login
 
 
best
ff

 

2 0 458
0 REPLIES 0
Top Solution Authors