When importing data into Google Calendar, an expired or revoked OAuth token causes Google's token endpoint to return 400 Bad Request with "error": "invalid_grant". GoogleCalendarImporter does not catch this TokenResponseException, so the failure surfaces as a generic/uncategorized error rather than as an InvalidTokenException. As a result the transfer framework cannot recognise the token as invalid and react appropriately (e.g. trigger re-authentication).
This differs from DriveImporter, which already handles this case correctly.
When importing data into Google Calendar, an expired or revoked OAuth token causes Google's token endpoint to return 400 Bad Request with "error": "invalid_grant". GoogleCalendarImporter does not catch this TokenResponseException, so the failure surfaces as a generic/uncategorized error rather than as an InvalidTokenException. As a result the transfer framework cannot recognise the token as invalid and react appropriately (e.g. trigger re-authentication).
This differs from DriveImporter, which already handles this case correctly.