#Exhausted resources

1 messages · Page 1 of 1 (latest)

warm remnant
#

Did you happen to keep a copy of the exact error you received?

#

a screenshot or text copy?

warm remnant
#

ok nvm, I found the two different errors. if you want to distinguish between them, the error relating to your quota has a details key with reason: RATE_LIMIT_EXCEEDED

#

e.g.

{
  'code': 429,
  'message': "Quota exceeded for quota metric 'API requests' and limit 'Request limit per minute for a region' of service 'generativelanguage.googleapis.com' for consumer 'project_number:1234'.",
  'status': 'RESOURCE_EXHAUSTED',
  'details': [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'RATE_LIMIT_EXCEEDED',...]
  ...
}
royal shoal
#

If I encounter the same error again, I can extract the complete message.

warm remnant
#

it's ok - I confirmed that was it. there are two different 429 errors, the one with RATE_LIMIT_EXCEEDED is the one that means your quota has expired