429 - exceeded quota for this month

Hello,

While running the “building-coordination-patterns” lab i face the following error: “ERROR:root:OpenAI API call failed: Error code: 429 - {‘error’: {‘message’: ‘exceeded quota for this month’}}”

Anything that can be done? Does it mean that even the following lab i will not be able to do?

Perhaps if you try today this error might not be there, let us know!

still there (and on the new lab)

Hi @chris.favila and sorry if you are not the QA for this course, perhaps you know the right QA who can help this learner!

Ok will forward this. Thanks

1 Like

Hey @Mikael_Sitruk. Unfortunately, each learner has an allocated quota for each month for all three APIs (OpenAI, Serper, and Exa), and its shared between labs. Once you exceed it, yo need to wait for the next month for it to reset. I will see if there’s anything that can be done about this.

It would help a lot if you could confirm in which platform you are running the labs (Coursera or deeplearning.AI) and the email you are using

Thank you i have sent the information requested via IM

please note that i am penalized for the failed execution due to the quota issue, in the grading of my lab. Could actually the grading take into consideration such case? and run the flow with the grader allocated quota?

Hey @Mikael_Sitruk, the penalization you are seeing is most likely on the last exercise, right? that’s because it is looking into the saved state_results.json file, which modifies when you run. I don’t see any workaround that, since we actually do want to check that the flow was able to run and update the state variables correctly. All the other exercises should have no issue.
This means that while you might not get full grade, you should still be able to pass the assignment and finish the course.
Please let me know if you are seeing a different behavior, because it might be worth looking at.