Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Cloud Run API job run error 429

Hello,

i have a Flask REST Api, and one of the micro services created, execute a request to Cloud Run Api create job and a second micro service execute a request to Cloud Run API run job.

I have noticed that the job run api into a loop give me this error: first request status code 200, second request status code 200 and all others request after the second status code 429.

I know that 420 error code is an error about exceeded quota limit, but is strange that this limit is after 2 request. 

And this is my quota... any explanation and why this error? 

 

snef_0-1681746715579.png

 

 

0 3 544
3 REPLIES 3

Hi, one way around this is to submit a quota increase request.

Hi Knet,

thanks for your reply. I know that i have to increase the quota limit of my project.

This is the page of documentation

snef_0-1681822025790.png

So i seem to understand that one specific job can be execute for max 10 time in a minute. Correct?

But i don't understand why, if the default limit is 10 execution in 1 minute for job, i have a 429 error at 3° run job request, I hope my dubt is clear. 

All the job that i try to execute are different.

Thanks

Hi Knet,

after check of my quota limit, i don't think that the problem is a quota, but I might be wrong. I do a request to 

  • https://{endpoint}/v2/{parent}/jobs

for 3 times and the jobs are created correctly, and for each job i have a function that call api  

to run each job.

And in this case works. So 3 request to create 3 different job and 3 request to run these jobs...6 request in a minute per region and the limit is 10.

Now if a do 4 request to create 4 jobs and run all i will do 8 request so i'm under quota, but in this case the first 3 jobs are created and started correctly and the 4° job is created but not started

I don't think is problem with limit, or please explain me how quota limit work considering this my workflow.

Thanks