Review Publically β€” Header (standalone)
What Breaking AI Tutorials Taught Me About Learning Generative AI
Review Publically feature image
AI Reviews

What Breaking AI Tutorials Taught Me About Learning Generative AI as a Computer Science Student

An honest account of debugging through, and eventually off the rails of, a 5-day Generative AI course

Abdul Hadi Β· Published: 14 Sep 2026 Β· 7 min read Β· Guest Contribution

When I enrolled in a five-day Generative AI course on Kaggle, I figured the hardest part would be wrapping my head around the core concepts, things like function calling, agents, and working with APIs. What I did not expect was that some of the most useful learning would come from trying to understand why the code in the tutorials was not behaving the way I expected.

The first couple of days were smooth sailing. I hit a few minor bugs here and there, but nothing I could not troubleshoot. Then came Day 3.

Day 1
Smooth. Read the explanation, follow the notebook, get the expected output.
Day 2
Still smooth. Settled into a comfortable routine.
Day 3
Function calling and agentic workflows. Errors got harder to explain. This is where things broke.
Day 4
Jumped ahead hoping for a fresh start. Found more friction instead.
Day 5
Looked through the material but never regained momentum.
Result
Course left unfinished. Kept the lessons anyway.

On paper, that sounds like a failed attempt. But struggling through those notebooks taught me something I probably would not have learned if everything had worked seamlessly on the first try.

When the Smooth Ride Stopped

Day 3 focused on function calling and agentic workflows. Up to that point, whenever my code threw an error, I usually assumed I had done something wrong: maybe I mistyped a parameter, forgot to run a previous cell, or passed something incorrectly. That trial-and-error mindset becomes less useful when several components are interacting.

Working through the Day 3 exercises, I ran into client-related errors and problems around function responses. My first reflex was to tweak code and rerun cells. Eventually, staring only at the line throwing the error stopped helping. I had to zoom out: was the client initialized correctly? Had I executed the setup cells in the right order? Was the function response being constructed in the way the library expected?

One issue improved after I went back through the setup and reran the relevant configuration instead of continuing from a partially failed notebook state. That was a small fix, but it changed how I looked at the notebook: the visible code was only part of the picture; the runtime also carried the results of everything I had executed before it.

Other problems were not so cooperative. Fixing or getting past one error sometimes only revealed another farther down the notebook. After spending a lot of time playing whack-a-mole with Day 3, exhaustion won. I moved ahead without the satisfying feeling that I had completely understood or resolved everything.

It Wasn't Always My Code

The biggest mental shift happened when I realized that a tutorial can fail even when there is no obvious problem with the Python line I am looking at. AI notebooks do not run in a vacuum. They can depend on external APIs, model availability, SDK behavior, configuration, and the current state of the notebook runtime. That means an error is not automatically proof that the syntax in front of me is wrong.

One of the later errors I encountered said that the requested combination of response modalities, specifically text, was not supported by the model I was trying to use. I also ran into problems while working with a Live API example. That was a lightbulb moment: debugging an AI application is not always just syntax checking; sometimes it means understanding the environment surrounding the code.

Instead of immediately asking "Where did I mess up the code?", I started asking broader questions. Is this example expecting a particular model? Which API or SDK behavior does the notebook assume? Does the model support the requested capability in this setup? Has anything about the API or supported model behavior changed since the lesson was written?

A Small Confirming Detail

I did not always have the answers, but learning to ask those questions was progress by itself. Current Gemini documentation, for example, describes Live API response capabilities in model-specific terms, which reinforced the lesson that the model and configuration matter just as much as the Python that sends the request.

Moving On Didn't Fix the Problem

Hoping to reset my momentum, I jumped into Day 4. Instead of a clean slate, I encountered more errors. It felt like I was spending more time troubleshooting the environment than actually engaging with the material. The course was no longer following the simple rhythm I had enjoyed during the first two days.

That exposed a flaw in how I had been consuming technical tutorials: I was treating expected outputs as the main proof that I was learning. Run the cell. Get the output. Move on. When that loop broke, I felt as if I was no longer progressing. In reality, the breakdown forced me to pay attention to things I normally ignored when tutorials ran smoothly: runtime state, configuration, API compatibility, model capabilities, and the details inside error messages.

I eventually looked through Day 5 to see what was left and whether I could regain momentum. By then, however, the unresolved problems from the previous days had taken the fun out of simply moving to the next notebook. I did not want to keep clicking through lessons while carrying gaps I did not understand. So I stopped. I did not complete the five-day course.

The Bug I Left Unsolved

It is easy to look back on a learning experience and rewrite it into a neat story: faced difficult bugs, systematically solved every one, completed the course, emerged with a perfect understanding of the material. That is not what happened. Some bugs I fixed. Some I only half-understood. Others I left unresolved.

The later compatibility-related problems were especially difficult because random code changes were no longer a sensible strategy. I needed to think about how the model, API, configuration, and requested features fitted together. I experimented, reread the errors, changed parts of the setup, and tried to continue, but I still did not reach a clean completion.

As a Computer Science student, leaving something unfinished feels wrong. Courses naturally encourage us to measure progress through completed lessons, successful outputs, and certificates. But an unsolved bug is not automatically a useless bug.

I learned there is a real difference between fixing an error and understanding an error better. Sometimes I reached the first outcome. Sometimes I only reached the second. Being able to admit that distinction is more useful than pretending every debugging session ends with a working program.

What I Took Away

If I started another fast-moving AI course tomorrow, my approach would be different.

1
Check the environment firstThe model being used, the relevant SDK or API, important configuration, and whether the current documentation still describes the same behavior.
2
Read the complete error before editing codeIdentify which part of the workflow actually failed, and check whether earlier notebook cells left the runtime in an unexpected state.
3
Change one thing at a timeIf you change the model name, configuration, package setup, and several lines of code together and it suddenly works, you may have solved the problem without learning what caused it.

The Kaggle course did teach me about generative AI. But the unfinished part taught me something broader about learning technical subjects. Tutorials are useful because they give beginners a path to follow. Eventually, though, that path can break. When it does, the goal cannot only be to copy the next piece of code until the output turns green.

For me, some errors were fixed, some were only partially understood, and eventually I reached a point where I stopped and left the course unfinished. But the experience changed the question I ask when something fails.

Instead of only asking "What code do I need to copy to pass this step?", I am learning to ask "Why is this system behaving this way?"

I still do not always have the answer. But learning how to investigate that question feels like an important step from simply following tutorials toward thinking more like a developer.

Frequently Asked Questions

What is Kaggle's 5-Day Generative AI Intensive Course?

It's a free, self-paced course built by Google and hosted on Kaggle, covering foundational models, prompt engineering, embeddings, generative AI agents, domain-specific LLMs, and MLOps for generative AI. Over 140,000 developers registered for the original live version.

Why do AI tutorial errors happen even when your code looks correct?

AI notebooks depend on more than the visible Python: external APIs, model availability, SDK behavior, configuration, and the current state of the notebook runtime from cells run earlier. An error can appear even when the syntax in front of you is fine, because something in that surrounding environment has shifted or was never set up the way the tutorial assumed.

What's the difference between fixing a bug and understanding it?

Fixing a bug means the code runs again. Understanding it means you know why it broke and why the fix worked. Changing several things at once (model, config, and code) can fix an error without teaching you which change actually mattered, which is why isolating one variable at a time matters more for learning than for speed.

Is it okay to leave a course or tutorial unfinished?

An unfinished course isn't automatically a wasted one. Struggling with real errors, including ones left unresolved, can teach debugging judgment that a smoothly completed course wouldn't, because smooth completion doesn't force you to investigate the environment around the code.

References
  1. Kaggle: 5-Day Gen AI Intensive Course with Google
  2. Google AI for Developers: Gemini Live API overview
  3. Google AI for Developers: Live API capabilities

Abdul Hadi β€” Guest Contributor

Abdul Hadi is a Computer Science student and technical intern interested in software development, generative AI, and web technologies. He enjoys building practical projects and writing about what he learns along the way, especially the gap between guided tutorials and real-world development.

Computer Science Student Technical Intern