Forums

Kaggle slug not found returning 404 not found

I tried pulling my kaggle notebook, after installing the necessary modules. I first list all the kaggle slug files using the command: kaggle kernels list --user [YOUR KAGGLE USERNAME HERE] --sort-by dateRun

It works well, then I try to load one of the listed slug files using the command: kaggle kernels pull [AUTHOR'S KAGGLE USERNAME]/[KERNEL SLUG FROM URL] -m

It gave an error message: 404 - Not Found

Kindly help.

Do you know what the full URL the command is trying to access is?

Yes, I am trying to pull my note from my account on kaggle. It successfully list my project work in kaggle with the command kaggle kernels list --user username --sort-by dateRun

But when I tried to pull the notebook from kaggle to my home directory in pythonanywhere with this command: kaggle kernels pull username/project-slug -m

It give the 404 Not found error despite that the first command gave the list of the project work I intended to pull.

Thanks so much the problem is solved by making my notebook in kaggle public

Glad you figured that out!