本文介绍了(403)将事件添加到日历时未配置访问权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
致命错误:未捕获的异常'apiServiceException'与消息
'错误调用POST https://www.googleapis.com/calendar/v3/
日历/ [cal-id] @ group.calendar.google.com / events?alt = json& key在/[...]/src/io/apiREST.php:86
堆栈跟踪:#0 / [...] / [...]中设置= [dev-key]:
(403)Access Not Configured' /src/io/apiREST.php(56):apiREST :: decodeHttpResponse(Object(apiHttpRequest))
#1 /[...]/src/service/apiServiceResource.php(148):apiREST :: execute (Object(apiServiceRequest))#2 /[...]/src/contrib/apiCalendarService.php(472):
apiServiceResource-> __ call('insert',Array)#3 / [...] /index.php(160): EventsServiceResource-> insert('[cal-id-part] ...',
Object(Ev in /[...]/src/io/apiREST.php on第86行
直到现在,它完美运行,我没有改变任何代码。
解决方案
那么,他们发布了新版本,而这显然导致了错误。现在有了最新的版本,它再次很好用。
Today I started to get this error upon adding new events to calendar:
Fatal error: Uncaught exception 'apiServiceException' with message
'Error calling POST https://www.googleapis.com/calendar/v3/
calendars/[cal-id]@group.calendar.google.com/events?alt=json&key=[dev-key]:
(403) Access Not Configured' in /[...]/src/io/apiREST.php:86
Stack trace: #0 /[...]/src/io/apiREST.php(56): apiREST::decodeHttpResponse(Object(apiHttpRequest))
#1 /[...]/src/service/apiServiceResource.php(148): apiREST::execute(Object(apiServiceRequest)) #2 /[...]/src/contrib/apiCalendarService.php(472):
apiServiceResource->__call('insert', Array) #3 /[...]/index.php(160): EventsServiceResource->insert('[cal-id-part]...',
Object(Ev in /[...]/src/io/apiREST.php on line 86
It worked perfectly till now and I didn't change anything in code.
解决方案
Well, they released new version and that what apparently caused errors. Got the newest version now and it works great once again.
这篇关于(403)将事件添加到日历时未配置访问权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!