OrderBy does not work
See original GitHub issueHi, thanks for making this very great library.
I tried to line them in reverse order, but order_by
didn’t work.
account = Account((config['client_id'], config['client_secret']))
mailbox = account.mailbox()
inbox = mailbox.inbox_folder()
for message in inbox.get_messages(order_by='DateTimeReceived desc'):
print(message)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://graph.microsoft.com/v1.0/me/mailFolders/Inbox/messages?%24top=25&%24orderby=DateTimeReceived+desc | Error Message: OrderBy not supported.
The reason seems to be that space is encoded into +
.
I think it will work if it becomes %20
.
I tried, but I didn’t know how to fix it.
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
c# list.OrderBy not working at all? [duplicate] - Stack Overflow
I have a hard time understanding how the list.OrderBy works and I don't understand what I'm doing wrong... I think it's something easy...
Read more >Order By not working - Laracasts
Yes, as OrderBy does not exists. Try with sortBy . https://laravel.com/docs/5.8/collections#method-sortby. Or use the query for ...
Read more >elements sorting (Order by) does not work for me
Hi,. i have the latest version. Is it possible that the “Order By” function does not work? I have tried it on two...
Read more >Laravel/Eloquent Model query 'orderBy' does not ... - GitHub
Laravel/Eloquent Model query 'orderBy' does not seem to always work when the table contains a mysql geometry column.
Read more >SQL SERVER – ORDER BY Does Not Work – Limitation of the ...
Order By clause does not work in View. I agree with all of you who say that there is no need of using...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think it’s “receivedDateTime”
Ah too bad, because I’m still struggling to retrieve the e-mails in chronological order (FiFo). I’ll just open a new ticket then.