I unfortunately masturbated 3 times during the 40 days of when i was reciting ziyarat e ashura to fulfill a particular hajaat.unfortunately the third time i sinned i did it on my own accord,without being tempted ,basically just like that. although i have repented, Does this mean my hajaat wont be accepted?

Seek forgiveness and Allah knows best about answering the hajjat or not. You can always continue doing these ‘amal of reading ziyarat ‘ashurah for your hajjat