I have been using Site kit service to get nearby locations on the biases of Lat Lng.
But unfortunately this error appears out of no where.

I had studied the documentation and error code which explain this

But the searched parameters are all those which are provided in documentations(for testing purpose) except the api key.
val searchService: SearchService = SearchServiceFactory.create(
this, URLEncoder.encode(
getString(R.string.huawei_maps_key),
"UTF-8"
)
)
val request = NearbySearchRequest()
val location = Coordinate(48.893478, 2.334595)
request.location = location
request.query = "Paris"
request.radius = 1000
request.hwPoiType = HwLocationType.ADDRESS
request.language = "fr"
request.pageIndex = 1
request.pageSize = 5
request.strictBounds = false