sharepy icon indicating copy to clipboard operation
sharepy copied to clipboard

Cannot open connection: Auth error. Token request failed. Invalid server response

Open dside99 opened this issue 3 years ago • 1 comments
trafficstars

Hello, just the fisrt step.

import sharepy
sharepy.connect('sharepoint.example.gr', '[email protected]', password='xaaxax')

I also have tried with 'https://sharepoint.example.gr'. The error message is : "ConnectionError: HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /[email protected]&xml=1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fe7803f1940>: Failed to establish a new connection: [Errno -2] Name or service not known')) " I tried with different accounts, wrong pass but the issue remain the same. Any idea?

dside99 avatar Apr 06 '22 13:04 dside99

'Name or service not known' suggest an issue in DNS resolution for the domain you're using. Are you sure you've typed it correctly, and that you can access it in a web browser?

JonathanHolvey avatar Jun 09 '22 08:06 JonathanHolvey