It was because I was not putting the effort to do so and because of my time management.

Is this correct? because it says that I have an incorrect verb form.

Better would be ~

It was because I was not putting in the effort to do so and because I didn't manage my time well.

Do you see why?