New here. I just created a NEW project, added API access to Drive and Sheets. My first called to sheets to clear out a sheet returns
Quota exceeded for quota metric ‘Write requests’ and limit ‘Write requests per minute per user’ of service ‘sheets.googleapis.com’ for consumer 'project_number:XXXXXXXXXXX
How can it be exceeded when I just created it? Is it by project or user? How can I see these in the console.
The error message you are encountering, “Quota exceeded for quota metric ‘Write requests’ and limit ‘Write requests per minute per user’”, usually arises when the Sheets API surpasses the permitted write requests quota.
Quick Fixes:
Check Quota Usage:
Go to IAM & Admin > Quotas & System Limits in the Cloud Console to see if you’re hitting the limit:
Google Cloud Console - Quotas
Optimize Your Calls:
Batch your operations with spreadsheets.batchUpdate to reduce the number of requests
Request More Quota:
If you need higher limits, you can request an increase here.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
The quota is applied per user (or service account, if you are using one), not just the project. If the same user or service account is making excessive requests (even across multiple projects), they can hit the limit. Some services have shared quotas across projects for the same user or service account, so creating a new project doesn’t reset those quotas.