Autocomplete search not giving any response on call in Swift

import TomTomSDKSearchOnline
import TomTomSDKSearch

let onlineSearch = OnlineSearch(apiKey: “my key”)
let options = AutocompleteOptions(query: “Piz”, locale: Locale(identifier:“en_GB”))
onlineSearch.autocomplete(options: options) { result in
switch result {
case .success():
//handle success
break
case .failure(
):
//handle error
break
}
}

Any help please?

does it mean that you are getting empty list or an error?