You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asyncfunctioncreateSpace(){constmeetClient=newSpacesServiceClient({credentials: {type: 'service_account'// other props},})// Construct requestconstrequest={}// Run requestconstresponse=awaitmeetClient.createSpace(request)console.log(`Meet URL: ${response[0].meetingUri}`)}
But I got Error: 7 PERMISSION_DENIED: Permission denied on resource Space (or it might not exist)
Service account already has owner role and I don't know which permissions to give to service account.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm creating a new meeting space with nodejs as shown in https://developers.google.com/meet/api/guides/quickstart/nodejs.
But I used service account credentials instead of oauth2 client ids. Here is my code.
But I got
Error: 7 PERMISSION_DENIED: Permission denied on resource Space (or it might not exist)
Service account already has owner role and I don't know which permissions to give to service account.
Beta Was this translation helpful? Give feedback.
All reactions