sharepy
sharepy copied to clipboard
Cannot open connection: Auth error. Token request failed. Invalid server response
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?
'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?