Problem in downloading dataset

When I try to download any dataset from Kaggle using opendata source library by providing my kaggle username and api key, but every time the download was failed, and I couldn’t download any dataset. Every time the download was restricted by kaggle website. Please help me regarding the issue. Thanks.