캘린더 생성후 리턴된 캘린더 아이디를 이용한 일정생성 오류의 원인이 뭘까요? API문서의 예제를 그대로 사용해도 에러가 발생하네요.

정재홍

2021.04.27읽음 2744

 { "ical": "BEGIN:VCALENDAR
VERSION:2.0
PRODID:Naver+Calendar
CALSCALE:GREGORIAN
BEGIN:VTIMEZONE
TZID:Asia/Seoul
BEGIN:STANDARD
DTSTART:19700101T000000Z
TZNAME:GMT+09:00
TZOFFSETFROM:+0900
TZOFFSETTO:+0900
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
SEQUENCE:0
CLASS:PUBLIC
TRANSP:OPAQUE
UID:6E12DA93-8B43-4576-9A8A-31B4BDC8BDCF_xell_1409882048@example.com
DTSTART;TZID=Asia/Seoul:20210426T110000Z
DTEND;TZID=Asia/Seoul:20210426T120000Z
SUMMARY:%EB%A7%A4%EC%A3%BC%EB%B0%98%EB%B3%B5+%EC%85%88%ED%94%8C
DESCRIPTION:%EC%83%81%EC%84%B8%EC%84%A4%EB%AA%85+%EC%98%81%EC%97%AD
LOCATION:%EC%97%AC%EA%B8%B0%EC%97%90%EC%84%9C...
RRULE:FREQ=WEEKLY;BYDAY=FR;INTERVAL=1;UNTIL=20210426T120000Z
ORGANIZER;CN=%EC%A0%95%EC%9E%AC%ED%99%8D:mailto:jeongjaehong@doore.co.kr
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=%EC%B0%B8%EC%84%9D%EC%9E%90:mailto:user01@example.com
CREATED:20210426T015408Z
LAST-MODIFIED:20210426T015408Z
DTSTAMP:20210426T015409Z
END:VEVENT
END:VCALENDAR"}


{"requestMethod":"POST","responseStatus":"0","elapseTime":"17","requestTime":"2021-04-27 14:57:06","requestMapping":"/v1/{accountId}/calendars/{calendarId}/events","response":"IllegalArgumentException","requestUid":"jk9qgxps","requestContentType":"application/json; charset=UTF-8","requestParamMap":"{ical=BEGIN:VCALENDARVERSION:2.0PRODID:Naver+CalendarCALSCALE:GREGORIANBEGIN:VTIMEZONETZID:Asia/SeoulBEGIN:STANDARDDTSTART:19700101T000000ZTZNAME:GMT+09:00TZOFFSETFROM:+0900TZOFFSETTO:+0900END:STANDARDEND:VTIMEZONEBEGIN:VEVENTSEQUENCE:0CLASS:PUBLICTRANSP:OPAQUEUID:6E12DA93-8B43-4576-9A8A-31B4BDC8BDCF_xell_1409882048@example.comDTSTART;TZID=Asia/Seoul:20210426T110000ZDTEND;TZID=Asia/Seoul:20210426T120000ZSUMMARY:%EB%A7%A4%EC%A3%BC%EB%B0%98%EB%B3%B5+%EC%85%88%ED%94%8CDESCRIPTION:%EC%83%81%EC%84%B8%EC%84%A4%EB%AA%85+%EC%98%81%EC%97%ADLOCATION:%EC%97%AC%EA%B8%B0%EC%97%90%EC%84%9C...RRULE:FREQ=WEEKLY;BYDAY=FR;INTERVAL=1;UNTIL=20210426T120000ZORGANIZER;CN=%EC%A0%95%EC%9E%AC%ED%99%8D:mailto:jeongjaehong@doore.co.krATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;CN=%EC%B0%B8%EC%84%9D%EC%9E%90:mailto:user01@example.comCREATED:20210426T015408ZLAST-MODIFIED:20210426T015408ZDTSTAMP:20210426T015409ZEND:VEVENTEND:VCALENDAR}","domain":"calendar","code":"SERVICE_UNAVAILABLE","message":"Service fail"}

댓글0

이전 글python으로 컨텐츠 업로드 API 요청 시 인증 오류
다음 글드라이브 업로드 및 권한 문제
목록

궁금한 점을 해결하지 못하셨나요?
지금 바로 NAVER WORKS 사용자들에게 물어보세요!