Git filter-repo failed to push refs

Hi , I am trying to cleanup my repo with git filter-repo. I finished cleaning in my local repo and when i am trying to push with : git push origin --tags (branches worked for me), I did it because git push --mirror did not work for me, I am facing an error of pre-recieve hook declined , i do not have any protected tags or something like that, does anyone knows what to do in this situation?