Error while scanning bluetooth deviced

Hello, getting the below error while scanning bluetooth devices
“dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownObject: Method “SetDiscoveryFilter” with signature “a{ss}” on interface “org.bluez.Adapter1” doesn’t exist”
Device used- Rock Pi 4B
OS - Ubuntu 18.04