API not responding
Open the endpoint URL directly in your browser (e.g.,
https://api.deezer.com/search/artist?q=beyonce). If it doesn't
return JSON, the problem is the API, not your code. Wait a few minutes and
try again.
CORS blocking
The browser blocks direct requests to the Deezer API because it doesn't send CORS headers. The solution is to use a CORS proxy that adds the required headers.
"The fetch to the Deezer API is being blocked by CORS. Set up a CORS proxy (like corsproxy.io) so requests work."
Build fails
Copy the full error from the terminal and paste it for the agent:
"The build failed with this error: [paste the error]. Fix it."
Build errors are usually missing imports, incorrect types, or uninstalled dependencies. The agent resolves most of them directly.
---Deploy not showing
Check the Actions tab on GitHub. If the workflow:
- Failed, click the workflow, copy the error, and ask the agent to fix it
- In progress, wait. The first deploy can take a few minutes
- Doesn't exist, GitHub Actions isn't configured. Ask the agent to create the workflow
The most common mistake
Accepting code without reading. If you don't understand what a part does, ask the agent before accepting. Review is what separates using AI from being used by it.
Save your work in Git before moving on. This gives you progress checkpoints, history, and safe rollback points.
git add .
git commit -m "[summarize what changed in this chapter]"
git push Replace the commit message with a short, real summary of what changed in this chapter.