question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Forbidden [403] when syncing calendars

See original GitHub issue

OGCS Version: v2.8.1-alpha (same issue occurs with v2.8.0-beta) Installed or Portable: Portable (installed has same issue)

Problem Description
When syncing a google calendar to Outlook calendar (bi-directional with defaults applied), the following error is encountered:

2019-09-08 02:13:11,885 DEBUG  30 OutlookGoogleCalendarSync.GoogleOgcs.Calendar [0] -  Processing >> 8/20/2019 9:30 AM (R) => "<redacted subject>"
2019-09-08 02:13:11,886 DEBUG  30 OutlookGoogleCalendarSync.Recurrence [0] -  Creating Google iCalendar definition for recurring event.
2019-09-08 02:13:11,896 DEBUG  30 OutlookGoogleCalendarSync.Recurrence [0] -  RRULE:FREQ=WEEKLY;BYDAY=TU,TH;UNTIL=20190917T093000Z
2019-09-08 02:13:11,910 DEBUG  30 OutlookGoogleCalendarSync.Console [0] -  8/20/2019 9:30 AM   "<redacted subject>"
2019-09-08 02:13:11,910 DEBUG  30 OutlookGoogleCalendarSync.Console [0] -  AttributeChangeRecurrenceRRULE:FREQ=WEEKLY;WKST=SU;UNTIL=20190917;BYDAY=... → RRULE:FREQ=WEEKLY;BYDAY=TU,TH;UNTIL=20190917T09...RecurrenceRRULE:FREQ=WEEKLY;WKST=SU;UNTIL=20190917;BYDAY=... → RRULE:FREQ=WEEKLY;BYDAY=TU,TH;UNTIL=20190917T09...Descriptionhttps//<redacted url> →   <redacted url>  Reminder DefaultTrue → False
2019-09-08 02:13:11,942 DEBUG  30 OutlookGoogleCalendarSync.Console [0] -  4 attributes updated.
2019-09-08 02:13:12,196 DEBUG  30 OutlookGoogleCalendarSync.GoogleOgcs.Calendar [0] -  Saving timestamp when OGCS updated event.
2019-09-08 02:13:12,381 WARN  30 OutlookGoogleCalendarSync.GoogleOgcs.Calendar [0] -  Google.Apis.Requests.RequestError
Forbidden [403]
Errors [
	Message[Forbidden] Location[ - ] Reason[forbidden] Domain[global]
]

2019-09-08 02:13:12,382 ERROR  30 OutlookGoogleCalendarSync.Console [0] -  Updated event failed to save.
2019-09-08 02:13:12,422 DEBUG  30 OutlookGoogleCalendarSync.Forms.ErrorReporting [0] -  Asking user if they want to automatically report errors.

Steps to Reproduce the Issue

  1. Create new calendar in outlook (Add Calendar->Create New Blank Calendar)
  2. Download and extract latest v2.8.1-alpha
  3. Run exe
  4. Configure Settings
    • Outlook - All defaults except picking new calendar in “Select Calendar”
    • Google - Retrieve, auth & select calendar
  5. Sync Options
    • All defaults except setting Bi-Directional for Direction
  6. Start Sync - Successful!
  7. Wait a few mins
  8. Start Sync - Failed with error above
  9. Error dialog appears
  10. Click OK
  11. Application hangs and must be killed

Any other information

  • Outlook account is an @msn.com account
  • Google account is a GSuite account
  • Occurs in v2.8.0-beta (installed) & v.2.8.1-alpha (portable)
  • Full Log submitted via dialog and also directly
  • Attempted multiple times starting the above process from scratch and same result each time
  • No changes were made to the calendar items on either side during the interval between step 5 & 7.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
kwagner115commented, Sep 17, 2019

This guy Paul is GOOD!!! 😃

1reaction
phw198commented, Sep 22, 2019

@jondavis9898 Nice - all looks in order.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix 403 Error of Calendar and iCloud Mac in 2023
1: Check Apple System Status · 2: Turn off and Turn on Calendar Syncing on Mac · Step: 2 – Clear Calendar Cache...
Read more >
How to Fix 403 Error of Calendar and iCloud
Another possible scenario that will give you 403 error is when your Mac's Calendar refuses to sync to iCloud. This is the message...
Read more >
I use Sync2Cloud to sync Google calendar with Outlook. ...
I use Sync2Cloud to sync Google calendar with Outlook. Getting 403 error forbidden domain location. Everything worked for years and now has ...
Read more >
Shared HTML calendar shows error 403 - Forbidden
I have been using an Outlook.com Calendar for years and all of a sudden I noticed today that the error: 403 - Forbidden:...
Read more >
Sync stopped working with 403 error with iCloud calendar ...
All of a sudden I'm getting sync errors with a shared calendar, the error log starts with: Response status code does not indicate...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found