ApiException: (401)

Please provide your Kaggle credentials to download this dataset. Learn more: http://bit.ly/kaggle-creds Your Kaggle username: mukul99968 Your Kaggle Key: ··········


ApiException Traceback (most recent call last)

in () ----> 1 od.download(dataset_url)

8 frames

/usr/local/lib/python3.7/dist-packages/kaggle/rest.py in request(self, method, url, query_params, headers, body, post_params, _preload_content, _request_timeout) 239 240 if not 200 <= r.status <= 299: → 241 raise ApiException(http_resp=r) 242 243 return r

ApiException: (401) Reason: Unauthorized HTTP response headers: HTTPHeaderDict({‘Date’: ‘Fri, 20 Aug 2021 06:52:37 GMT’, ‘Content-Length’: ‘0’, ‘Set-Cookie’: ‘ka_sessionid=3aa9ce5514d9c1cfd97d7976e06c23b1; max-age=2626560; path=/, GCLB=CKzj_cnR9OL20gE; path=/; HttpOnly’, ‘Access-Control-Allow-Credentials’: ‘true’, ‘Turbolinks-Location’: ‘https://www.kaggle.com/api/v1/datasets/download/jsphyg/weather-dataset-rattle-package’, ‘Strict-Transport-Security’: ‘max-age=63072000; includeSubDomains; preload’, ‘Content-Security-Policy’: "object-src ‘none’; script-src ‘nonce-N7bL134cKQuQkIE+Us5kCw==’ ‘report-sample’ ‘unsafe-inline’ ‘unsafe-eval’ ‘strict-dynamic’ https: http:; frame-src ‘self’ https://www.kaggleusercontent.com YouTube https://polygraph-cool.github.io https://www.google.com/recaptcha/ https://form.jotform.com https://submit.jotform.us https://submit.jotformpro.com https://submit.jotform.com https://www.docdroid.com https://www.docdroid.net https://kaggle-static.storage.googleapis.com https://kaggle-static-staging.storage.googleapis.com https://kkb-dev.jupyter-proxy.kaggle.net https://kkb-staging.jupyter-proxy.kaggle.net https://kkb-production.jupyter-proxy.kaggle.net https://kkb-dev.firebaseapp.com https://kkb-staging.firebaseapp.com https://kkb-production.firebaseapp.com https://kaggle-metastore-test.firebaseapp.com https://kaggle-metastore.firebaseapp.com https://apis.google.com https://content-sheets.googleapis.com/ https://accounts.google.com/ https://storage.googleapis.com https://d

Are you sure you’re using kaggle API key (not your password)?