出现此错误
{ "error":
{ "errors":
[
{ "domain": "calendar", "reason": "forbiddenForServiceAccounts", "message": "Service accounts cannot invite attendees without Domain-Wide Delegation of Authority." }
],
"code": 403,
"message": "Service accounts cannot invite attendees without Domain-Wide Delegation of Authority."
}
}
已经关注了https://developers.google.com/admin-sdk/directory/v1/guides/delegation
我正在使用该库并将其在laravel 5.7上运行:https://github.com/spatie/laravel-google-calendar
这可能是解决方法。请帮助。
当我使用Google Calendar API遇到同样的问题时,我首先收到您的问题的警报。看来我的答案实际上来自于有关如何添加范围的单独答案。