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

Hi!
I used BFG tool (BFG Repo-Cleaner by rtyley) 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?