I am trying to orderby Created date in SharePoint Rest api

Below is the url that I use


I get the below error message

-1, Microsoft.SharePoint.Client.InvalidClientQueryException Field or property "Created" does not exist. Field or property "Created" does not exist. Microsoft.SharePoint.Client.InvalidClientQueryException


The problem is "Created" does not exist if you are playing with Files. You should use "TimeCreated" as a creation date in your query.

This is my query and it is working fine in my case:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.