0
下記のlocation: alt
のエラー400が発生することなく、誰でも定期的なイベントシリーズを更新できますか?エラーをトリガJavaScript - GoogleカレンダーAPIエラー400 - 場所 "alt" - 定期的なイベントの更新シリーズ
{"error": {"errors": [{ "domain":"global", "reason":"invalidAltValue", "message":"Unknown output format: json 400", "locationType":"parameter", "location":"alt" }], "code":400, "message":"Unknown output format: json 400" } }
コール:このメッセージが含まれてい
:
私はGoogleカレンダーのAPIシリーズを経由してすべての定期的なイベントを更新しようとすると、私は次のエラーを取得します
var recurringEvent = {
'summary': 'Google I/O 2015',
'location': '800 Howard St., San Francisco, CA 94103',
'description': 'A chance to hear more about Google\'s developer products.',
'start': {
'dateTime': '2017-05-28T09:00:00-07:00',
'timeZone': 'America/Los_Angeles'
},
'end': {
'dateTime': '2017-05-28T17:00:00-07:00',
'timeZone': 'America/Los_Angeles'
},
'recurrence': [
'RRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=2017-06-06T03:59:59.000Z'
]
};
var eventId = this.props.user.calendarEventRecurringEventId; // POSSIBLY THE ISSUE: I use the Recurring Event Id here because I am trying to update all events in the series rather than the individual event.
this.updateEvent(recurringEvent, eventId);
altパラメータはどこに設定されていますか?私はどこにでも設定していないので、こちらのドキュメント(https://developers.google.com/google-apps/calendar/v3/reference/events)には表示されません。私の問題を再現するには、定期的なイベントを作成し、定期的なイベントシリーズ(繰り返しイベントの1つのインスタンスではなく、定期的なイベントに関連するすべてのイベント)を自分のコードで更新しようとします。 – Rbar