vgrem / Office365-REST-Python-Client

Microsoft 365 & Microsoft Graph Library for Python
MIT License
1.35k stars 336 forks source link

401 Client Error in Python code #885

Open nitesh4547 opened 3 months ago

nitesh4547 commented 3 months ago

Hi,

I am using python api script for Power BI Meta data. The script was running fine for 1-2 months, without any issue. But suddenly getting this following Error: requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://login.microsoftonline.com/common/oauth2/token

Please help me if you have any solution to this Error.

Thanks.

LorenzoPeve commented 2 months ago

I am running into a similar issue. I am able to download 1100 files in site but 200 files in the same site give me the 401 Client Error: Unauthorized for url.