Authentication Error with Course API Key in Jupyter

I’m encountering an AuthenticationError (see attached screenshot) when using the course-provided API key in Jupyter, as mentioned in the course materials. I’m not sure if the key is correct or if there’s something else going wrong. Has anyone else faced this issue? Could you confirm if the course key is correct, or share any advice on how to fix this error?l

Are you running the course notebook in the DL.AI platform, or are you trying to run the notebook locally on your own computer?

1 Like

I’m running the notebook locally on my own Jupyter, not on the DLAI platform. I used the course API key, but I’m getting the AuthenticationError.

Additional im beginner user with very basic skill. This course is my first one related to AI.

To run a code locally successfully pre-requisite to be followed

  1. Make sure download all the files including the lab assignment codes.
  2. make sure the module version the codes were run down in course platform, you have the same module version for codes to run successfully. (you will find a requirement txt file name when you click File==> Open option which has this file, download this file too)
  3. Lastly some codes require you to have your own API keys when running codes on your local computer.

All the best exploring and practicing

1 Like

You can’t use the DL.AI API key for your own work. You need your own.

1 Like

Hi Deepti, Thank you for message. Did you face the same problem.

no