I think you're making too many API calls at the same time. Give it a time interval or use Batching of Requests. Also use Exponential Backoff to handle 4xx error retries.
Additional note:
The following may be causing your problem according to Calendar usage limits:
Resolution
If users hit the Google Calendar limits, they should be able to edit their calendars normally again within several hours. Users will still be able to view events in Calendar during that period.
More Information
If a user sees one of these messages it’s probably due to one of the following reasons:
1. Creating too many events
If a user has created more than 10,000 events in his or her calendar within a short period of time, that user might lose calendar edit access.
2. Creating too many calendars
If a user creates more than 25 new calendars within a short period of time, that user's calendar might go into read-only mode.
3. Sending too many invitations or emails to external guests
In order to prevent spamming, Google Calendar limits the number of invitations a user can send to external guests. This limit varies depending on the action, and is usually between 100-300 guests.
G Suite users can send invitations to any number of guests from their primary domain, or from secondary domains associated with their primary domain.
4. Sharing calendars with too many users
If a user shares one or more calendars with many other users within a short period of time, Google Calendar might switch into read-only mode for that user. It’s almost impossible to reach this limit by updating sharing settings manually, but it can happen with some API-based tools or third-party apps.