how many instances of t are there in:
q: orderby created is not working in sharepoint rest api i am trying to orderby created date in sharepoint rest api
below is the url that i use
/_api/web/getfolderbyserverrelativeurl(style%20library/gallery)/files?$expand=listitemallfields&$orderby=created%20desc

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 


a: 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:
_api/web/getfolderbyserverrelativeurl(psd)/files?$expand=listitemallfields&$orderby=timecreated%20desc


user
In the text, there are 56 "t"s.
assistant