Receives error and partial results on ending callback