Want to implement google calendar in ios swift

241 views
Skip to first unread message

Gaurav Gehlot

unread,
Apr 3, 2024, 7:31:38 AM4/3/24
to Google APIs Client Library for Objective-C
Hello folks, I'm encountering a problem integrating Google Calendar into my iOS app. Specifically, I'm trying to insert event data into Google Calendar, but I'm facing difficulties. Despite implementing Google SignIn functionality successfully and obtaining an access token after SignIn, I'm unable to insert the event data. I'm storing the access token in UserDefaults and passing it as a header parameter. However, I consistently receive the error message "Error adding event to Google Calendar: Response status code was unacceptable: 401."
I've attempted several solutions but have been unsuccessful in resolving this issue. I would greatly appreciate any assistance in troubleshooting and resolving this problem. Thank you.

Reply all
Reply to author
Forward
0 new messages