Hi @rasty_penny welcome to the deeplearning.ai community.
The 429 - exceeded quota for this month error is a platform-side issue, meaning your code and your 2-day-old account are completely fine.
The DeepLearning.AI Jupyter labs route requests through shared, built-in API keys provided by the course. When you see this specific error, it means the platform’s shared key for the Chart Generation lab has temporarily hit its monthly budget due to total learner traffic.
Next steps:
Wait 24–48 hours: I am escalating this to the DeepLearning.AI Community Team so the engineering staff can provision more API quota. It typically takes a day or two for them to refresh the backend keys.
Do not modify your code: Your current setup is correct. Just leave the notebook as-is.
Do not use a personal key: There is no need to create a personal OpenAI account, add billing details, or paste your own API key into the environment.
Take a break for now, and try re-running the lab tomorrow. Reply back here if it is still blocking you after a couple of days!
I am now able to execute the code, but I am getting a different error:
TypeError: datetime64 type does not support sum operations
it seems that the LLM is ignoring instruction 8:
CRITICAL: ‘date’ is datetime64 — never use string concatenation on it.
Filter by year/quarter using the ‘year’ and ‘quarter’ integer columns.
Any advise?
2) Regarding C1M2_Assignement:
When running the unit test, I am getting once again the RateLimitError: Got: An error occurred: Error code: 429 - {‘error’: {‘message’: ‘exceeded quota for this month’}}
This is a very serious issue. How are we meant to finish the course if we all share a monthly budget and we have no visibility at all on what is happening in the background?
Hi @rasty_penny — on the datetime64 does not support sum operations error: it’s not actually the LLM ignoring instruction 8 (the string-concatenation warning). The model is correctly avoiding date + time concatenation, but it’s making a separate mistake in the aggregation step:
.sum() here is called on the whole grouped DataFrame instead of just the price column. Since date is still a datetime64 column at that point, pandas can’t sum it and throws the TypeError — nothing to do with concatenation.
Quick fix, works without waiting on a course update — select the column first:
(If your generated code phrases the line slightly differently, adjust the .replace() strings to match exactly.)
Unrelated to this: I also posted the same root-cause note over in the M2_UGL_1 thread if you want more context — that one’s specific to the datetime bug, this thread’s mostly about the quota issue.
I tried again. Everything was working fine to begin with. I completed the 1st ungraded lab of module 3 without issues, but when I proceeded to the 2nd ungraded lab of module 3, I encountered the same error: LLMError: An error occurred: Error code: 429 - {‘error’: {‘message’: ‘exceeded quota for this month’}}
Just to clarify: the problem is not limited to a specific lab. Once I encounter the exceeded quota error in one lab, then I encounter the same error in all other labs I attempt to run!
I tried to complete the first lab today and ran into the same two issues.
In Step 2, the initially generated code failed with the error “TypeError: datetime64 type does not support sum operations.” The generated aggregation tried to sum all remaining columns, including the date column.
Later, when I tried to run the complete workflow, the first model call failed with “RateLimitError: Error code: 429 — exceeded quota for this month.” As a result, I couldn’t complete the end-to-end workflow because the lab environment had already exhausted its monthly quota. And this is just the very begining of the course.
Hi everyone! the fixed for this Ungraded Lab in Module 2 have been pushed to prod so you can see changes reflected in the notebook and currently working as expected!
Hi Nicolas!
Let me report it to our engineering team. Thanks for letting me know.
Just researching… have you been trying running all notebooks from this Agentic Course today , notebooks worked until you got to M5? or you just (re)started from M5 and got the error?