Jonathan Holvey

Results 52 comments of Jonathan Holvey

I'm also seeing this issue after upgrading Ubuntu 18.04 to 18.10, and hence to Gnome 3.30

The 403 response code means that you don't have permission to access the resource you're trying to access (or create in this case). You should probably double check the path...

Can you try replacing the space in the folder name with `%20`? It could be that the SharePoint server expects that space to be URL-encoded.

Apologies, I just realised the URL in my example above was missing `/_api/web`. I've corrected this now.

Are you able to access any data on the site through SharePy using a GET request?

I'm wondering if this might be related to #49. Can you try adding the following header to your request? ```python headers = { 'Authorization': f'Bearer {self.auth.digest}', }

Can you please check that the auth cookies have been set correctly? ```python print(s.auth.cookie) print(s.auth.digest) ```

No need to post them. So long as they're both not `None` it should work. I just tried your steps on my test account, and all there requests (POST, GET,...

The only other thing I can suggest right now is to try the PyPI version of the beta package: ```bash pip install --pre sharepy ``` There shouldn't be any differences...

I just tested with a subsite, and using the URLs you provided, got a load of 404 responses. Only if I removed `/sites` from the URL and folder path would...