沃梦达 / 编程问答 / php问题 / 正文

(403) 将事件添加到日历时未配置访问权限

(403) Access Not Configured when adding event to calendar((403) 将事件添加到日历时未配置访问权限)

本文介绍了(403) 将事件添加到日历时未配置访问权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我在向日历添加新事件时开始收到此错误:

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) 将事件添加到日历时未配置访问权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:(403) 将事件添加到日历时未配置访问权限

基础教程推荐