You can easily know why your tasks are failing by hovering the failure button. It should display a card with more informations on the failure.
Common reasons are:
LinkedIn account not properly connected or disconnected
Linkedin url not existing on the lead profile
Invalid email address.