You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing an issue when I triggered batch reverse geocoding. Single reverse geocoding worked for me.
Here is my batch reverse geocoding code:
let options = ReverseBatchGeocodeOptions(coordinates: coordinates)
let task = self.geocoder.batchGeocode(options) { (results, attributes, error) in
DispatchQueue.main.async {
if let error = error {
print("batch lookup error: \(error)")
}
if let results = results {
print("got results")
}
}
}
task.resume()
And here is error message:
[LocationLookUp] batch lookup error: Error Domain=NSCocoaErrorDomain Code=4864 "Expected to decode Array<Any> but found a dictionary instead." UserInfo={NSDebugDescription=Expected to decode Array<Any> but found a dictionary instead., NSLocalizedFailureReason=Permanent geocodes are not enabled for this account. Contact support@mapbox.com to enable this feature., NSUnderlyingError=0x2805972a0 {Error Domain=NSCocoaErrorDomain Code=4864 "Expected to decode Array<Any> but found a dictionary instead." UserInfo={NSDebugDescription=Expected to decode Array<Any> but found a dictionary instead., NSCodingPath=(
)}}, NSCodingPath=(
)}
How can I resolve the issue?
MapboxGeocoder.swift version is v0.11.0
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I'm experiencing an issue when I triggered batch reverse geocoding. Single reverse geocoding worked for me.
Here is my batch reverse geocoding code:
And here is error message:
How can I resolve the issue?
MapboxGeocoder.swift version is v0.11.0
The text was updated successfully, but these errors were encountered: