Unable to mirror from gitlab to github

So I recently came across the fact that you can mirror from gitlab and I went to set it up going to github but I keep encountering this

13:push to mirror: git push: exit status 128, stderr: "remote: No anonymous write access.\nfatal: Authentication failed for <github repository> 

I am making sure that my personal access token is able to edit public repos but it keep failing. Not sure where to go.

Hi, in the mirroring option what did you put as the url? I have this working, but you do have a url like:

http://token@github.com/...........

where token is your personal access token (not project token), and … is the path to where you are trying to mirror to.