500 Internal server error

This is from my access.log
- Admin [01/Apr/2018:16:08:00 +0000] “SEARCH /remote.php/dav HTTP/1.1” 500 238 “-” “Mozilla/5.0 (Android) ownCloud-android/3.1.0 RC2”

Nextcloud log from admin page


22 minutes ago

InvalidArgumentException: Search is only supported on directories

Any ideas what is wrong?
I’ll get the error when using Android client and trying to access Favourites.