GitLab: API is not accessible. When push to mirror repository

Hi!
I used BFG tool (https://rtyley.github.io/bfg-repo-cleaner/) for cleansing my sensitivity data from repo. But I got an error

remote: GitLab: API is not accessible.

[remote rejected] br->br (pre-receive hook declined)

When I want pushed mirror repository.
How I can solve this problem?