My requirement is getting latitude longitude from google map for that i wrote trigger and used @future callouts. now i need to run batch class to update contact records but contacts not updating showing error:
First error: Update failed. First exception on row 0 with id 00328000001hmXdAAI; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, Geolocation: execution of AfterUpdate
caused by: System.AsyncException: Future method cannot be called from a future or batch apex class
@future
method? Is it the same@future
method that is grabbing the lat/long from Google?