shareplum icon indicating copy to clipboard operation
shareplum copied to clipboard

Querying on Created or Modified Throws Failure

Open toobeyonewing opened this issue 3 years ago • 0 comments
trafficstars

I don't see anyone mentioning this.

When attempting a query on Created or Modified using a datetime, the following error is given: Failed to download list items Argument must be bytes or unicode, got 'datetime'

I've made adjustments and attempted to pass the datetime as a string, a date. These two fields are Sharepoint generated, I believe. They are labelled as datetimes in the Sharepoint list.

Attempting to use integers yields the same error but with "got 'int'".

Attempting a string shows the following:

Failed to download list items Shareplum HTTP Post Failed : 500 Server Error: Internal Server Error for url: https://xxxx.sharepoint.com/sites/xxxxx/_vti_bin/lists.asmx

toobeyonewing avatar May 05 '22 16:05 toobeyonewing