sharepy icon indicating copy to clipboard operation
sharepy copied to clipboard

'NoneType' object has no attribute 'group'

Open TanjilAmin opened this issue 2 years ago • 1 comments

I am using the code below: `import sharepy import requests

SPUrl = 'https://teamup.<company_name>.com/sites/pt/service/metrics/sitedata'

username = '@<company_name>.com' password = password s = sharepy.connect(SPUrl, username, password) s.save()`

However, I keep getting the following error: 'NoneType' object has no attribute 'group'

Any idea what could be the reason?

Thanks, Tanjil

TanjilAmin avatar Mar 10 '22 17:03 TanjilAmin

I have tried different variations of the URL and the username/email id. But the same error kept presenting itself.

TanjilAmin avatar Mar 10 '22 17:03 TanjilAmin