Hi there!
I must ask what this means because I cannot understand that at all.
I am getting this error:
{
error:
{
code: 429,
message: 'Resource has been exhausted (e.g. check quota).',
status: 'RESOURCE_EXHAUSTED'
}
}
But when I check my quotas on Google Cloud there are no exhausted resources...
It doesn't make any sense to me.
Can someone please help me understand that?
Thanks in advance 🙏🏼
I just sent the first test request today and got the same error. There have been no requests since Friday. No way I exceeded the quota limits. Could someone advise me on what is happening here or help me configure my cloud project? Maybe I am making some mistakes that I am not aware of.
Hi @mateo,
Welcome to Google Cloud Community!
The error message you're encountering with the Document AI API indicates that you've reached the limit for a specific resource. Quotas are in place to ensure fair usage and to prevent any single user from overloading the system. However, since you've checked your quotas and they don't seem to be exhausted, there might be another underlying issue.
API Rate Limits: Many Google Cloud APIs have rate limits in place to prevent abuse. While no individual quota is assigned, resources can become temporarily unavailable due to high demand, which might be the case here. As a workaround, consider implementing exponential backoff for retries to reduce the load on the API or to retry at a later time.
Review Your Project Configuration: Ensure that your project is configured correctly and that you're using the appropriate API keys and service accounts. Double-check your authentication and authorization mechanisms.
Request Quota: While you're experiencing an error related to resource limits, and upon checking your quotas you find they aren't exhausted, you might consider requesting a quota increase from Google Cloud. You may follow the steps in this documentation. Keep in mind that these requests are subject to review and approval and may take some time to process. Additionally, quota increase requests are typically evaluated based on the validity of the business case provided.
You can also visit the following documentation for more details on Document AI
If the issue persists, I suggest contacting Google Cloud Support, as they can provide more insights and take a deeper look at your issue regarding resource limits.
I hope the above information is helpful.
Thanks for the reply @ibaui. It is very helpful.
The truth is that I am still getting the same error everytime I send request for the first time after a longer break. During the break there is no traffic so it is very strange for me to be honest. I think I will try to reach the support.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |