vgrem / Office365-REST-Python-Client

Microsoft 365 & Microsoft Graph Library for Python
MIT License
1.33k stars 334 forks source link

401 Client Error in Python code #885

Open nitesh4547 opened 2 months ago

nitesh4547 commented 2 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 1 month 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.