{
  "id": 415253,
  "title": "can't load data from kaggle",
  "url": "/competitions/dogs-vs-cats/discussion/415253",
  "author_name": "tzahi geller",
  "post_date": "2023-06-05T20:27:03.253000",
  "votes": 0,
  "comment_count": 0,
  "views": 0,
  "content": "<p>Hi,</p>\n<p>this is the code for loading the data from kaggle, after uploading kaggle.json :<br>\n!mkdir ~/.kaggle<br>\n!mv kaggle.json ~/.kaggle/<br>\n!echo '{\"username\":\"USERNAME\",\"key\":\"KEY\"}' &gt; ~/.kaggle/kaggle.json<br>\n!chmod 600 ~/.kaggle/kaggle.json</p>\n<p>!kaggle competitions download -c dogs-vs-cats</p>\n<p>the output is:<br>\n401 - Unauthorized</p>\n<p>The API token is valid, and I accepted the competition rules.</p>\n<p>What can I do?</p>",
  "messages": [
    {
      "id": 2288968,
      "postDate": "2023-06-05T20:27:03.253Z",
      "content": "<p>Hi,</p>\n<p>this is the code for loading the data from kaggle, after uploading kaggle.json :<br>\n!mkdir ~/.kaggle<br>\n!mv kaggle.json ~/.kaggle/<br>\n!echo '{\"username\":\"USERNAME\",\"key\":\"KEY\"}' &gt; ~/.kaggle/kaggle.json<br>\n!chmod 600 ~/.kaggle/kaggle.json</p>\n<p>!kaggle competitions download -c dogs-vs-cats</p>\n<p>the output is:<br>\n401 - Unauthorized</p>\n<p>The API token is valid, and I accepted the competition rules.</p>\n<p>What can I do?</p>",
      "rawMarkdown": "Hi,\n\nthis is the code for loading the data from kaggle, after uploading kaggle.json :\n!mkdir ~/.kaggle\n!mv kaggle.json ~/.kaggle/\n!echo '{\"username\":\"USERNAME\",\"key\":\"KEY\"}' > ~/.kaggle/kaggle.json\n!chmod 600 ~/.kaggle/kaggle.json\n\n!kaggle competitions download -c dogs-vs-cats\n\nthe output is:\n401 - Unauthorized\n\nThe API token is valid, and I accepted the competition rules.\n\nWhat can I do?"
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "2288968": "Hi,\n\nthis is the code for loading the data from kaggle, after uploading kaggle.json :\n!mkdir ~/.kaggle\n!mv kaggle.json ~/.kaggle/\n!echo '{\"username\":\"USERNAME\",\"key\":\"KEY\"}' > ~/.kaggle/kaggle.json\n!chmod 600 ~/.kaggle/kaggle.json\n\n!kaggle competitions download -c dogs-vs-cats\n\nthe output is:\n401 - Unauthorized\n\nThe API token is valid, and I accepted the competition rules.\n\nWhat can I do?"
  }
}