Unable to convert to GitHub

Hi, I followed the instructions here for conversion to GitHub but I’m getting the following errors:
Migration to GitHub failed: Error: Request authorsUnmatchedInGithub failed with message: Authentication failed. You may not have permission to access the repository or the repository may have been archived.
A repository was created on GitHub but the migration did not complete. You will need to manually remove repository XXXX.
I am authenticated and was able to convert couple of projects but I faced the same errors and only succeeded after several tries. I click ‘convert’, it fails, I go to GitHub and remove the repository and then try again. I’m unable to convert the 3rd project, I just keep getting this error.

Hi Sergei,

is the project you are trying to convert public? Can you please share a link?

Also if you try again, does it still fail?

Thank you very much.

Federico - Mbed Studio team

image.png

Still fails. I checked it as private for conversion. After the failure and before trying again I have to remove the repository in github as it’s created empty. Like I mentioned earlier, I was able to convert two other repositories but only on Nth try after seeing the same errors. With this repo I’ve already tried more than 10 times.

So, basically, the API call to create the repo in Github succeeds. This means the authentication works fine. The next call to match authors fails. As a result, an empty repo is created.

Hi Sergei,

we have identified the source of the error. Please bear with us, we are working to fix this.

Federico - Mbed Studio team

Great, please let me know when it’s fixed. I just tried converting again and it failed as before.
Regards,
Sergei.

Hi Sergei,

we have made some improvements to our Mercurial to Git migration process. Can you please let me know if it helps with your issue? If it doesn’t can you please post a link to the project you are trying to migrate?

Thanks,

Federico - Mbed Studio team

Federico, the original problem of not being able to get the screen that matched mbed authors to Git authors is gone. My first attempt failed though as the author matching screen had me mentioned twice and I matched twice - the subsequent error was cryptic and I didn’t save it. Then I decided to update all the libraries in the project and make sure it builds - once it was done I was able to migrate to Git and the author match screen was correct displaying only one author. So, not sure why project status with respect to whether it builds or not or updated libraries matters but it did. I’ll let you know if I encounter any issues with other projects. Thanks!

Hi Sergei,

great to know you managed to do the migration. Still if your project is public we would be happy to have a look and see why you had your mbed.os user appear twice. Feel free to share a link here if you prefer to have this investigate further.

Thanks,
Federico - Mbed Studio team