If you are receiving an error that is similar to the one below, please ensure that the taskID you are passing through is valid.
com.algolia.search.exceptions.AlgoliaApiException: {"message":"Invalid taskID","status":400}
In a recent update, taskID validity is now being enforced, which is resulting in the error being thrown. As a result, any hard-coded or invalid taskIDs may now cause your indexing operations to throw an error.