dev-resources.site
for different kinds of informations.
Google Calendar - Usage Limits Exceeded
Published at
1/24/2024
Categories
google
calendar
spam
Author
jpoehnelt
Author
9 person written this
jpoehnelt
open
When creating events in Google Calendar, many developers come across the error message: Calendar usage limits exceeded. This happens even when they are not exceeding the API quota.
Error - usage limits exceeded
The full error response is the following:
{
domain: 'usageLimits',
reason: 'quotaExceeded',
message: 'Calendar usage limits exceeded.'
}
The corresponding Calendar API request might look like the following:
POST https://www.googleapis.com/calendar/v3/calendars/primary/events
Authorization: Bearer [YOUR_ACCESS_TOKEN]
Accept: application/json
Content-Type: application/json
{
"attendees": [
{
"email": "[email protected]"
},
{
"email": "[email protected]"
}
],
"end": {
"date": "2024-01-02"
},
"start": {
"date": "2024-01-01"
},
"summary": "A Calendar Event"
}
Cause - spam prevention
The reason for this is to prevent spam and is triggered by the following:
- Sending notifications to attendees
- Including attendees that are external to the Google Workspace domain, e.g. inviting
[email protected]
from[email protected]
.
Solution - remove attendees
The problem is only fixed by removing the attendees and using an alternative approach. In the case of external domains, and sending notifications, the following are some alternatives:
- Provide a template link for users to create an event in their Google Calendar.
- Use
.ics
files to create events in any calendar application. - Use OAuth to modify the userβs calendar directly.
- Share a public Google Calendar and add events to it.
- Use the publish event feature in Google Calendar to embed HTML.
Google Calendar template links look like the following:
https://calendar.google.com/calendar/r/eventedit
?action=TEMPLATE
&dates=20230325T224500Z%2F20230326T001500Z
&stz=Europe/Brussels
&etz=Europe/Brussels
&details=EVENT_DESCRIPTION_HERE
&location=EVENT_LOCATION_HERE
&text=EVENT_TITLE_HERE
Resources
spam Article's
30 articles in total
Fighting open source spam with interaction limits
read article
How to Detect Spam: A Complete Guide to AI-Powered Content Filtering
read article
Die Macht des "+" in deiner E-Mail-Adresse βοΈ
read article
Prevent email spam from developers during application development
read article
The power of the "+" in your email address βοΈ
read article
Hide Email Address From Spammers
read article
Google Calendar - Usage Limits Exceeded
currently reading
Fake Job Posts on LinkedIn: How to Identify and Avoid Them
read article
May I ask you a favor (list of accounts worth to be blocked)?
read article
How to Report Messages as Spam in Gmail to Improve Your Work and Life?
read article
stop email harvesting
read article
prevent email spam
read article
Touch and Alfa: The SMS Spam Giants of Lebanon
read article
How to secure an email address on your website
read article
9 ways you can stop spam on your website
read article
Introducing Advanced Spam and Phishing Filtering
read article
What does it mean when an email has a high spam score?
read article
Phishing vs. Spam
read article
Phishing vs. Spam
read article
How to Detect GPT Articles
read article
Stop the Invasion of Fake Followers
read article
WormGPT
read article
Is it too late to fix the problem of AI clutter on the web?
read article
How to stop spam -too with mailto links.
read article
Hear me out dev.to, Chat GPT against spam π€?
read article
Stop spam on Webflow contact forms using Zapier and OOPSpam
read article
Help fight spam in our community! π
read article
Anti-Spam Form for Yii2 Framework
read article
NVIDIA Triton Spam Detection Engine of C-Suite Labs
read article
How to prevent web forms from spam
read article
Featured ones: