Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to https://api.github.com/user/repos failed with status 422 when running the second time #7

Open
yoosinpaddy opened this issue Feb 4, 2023 · 0 comments

Comments

@yoosinpaddy
Copy link

Getting repo list from Bitbucket...
Fetching commits from 1 Bitbucket repos...
Done.
Creating GitHub shadow repo...
Request to https://api.github.com/user/repos failed with status 422:
"Repository creation failed."
(node:15080) UnhandledPromiseRejectionWarning: Error: Initialization of repository failed
at GithubPusher._initShadowRepo (D:\Projects\VersionControl\bBucket2gHub\src\github\github-push.js:35:19)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
at async GithubPusher.sync (D:\Projects\VersionControl\bBucket2gHub\src\github\github-push.js:156:13)
at async main (D:\Projects\VersionControl\bBucket2gHub\src\index.js:27:5)
(node:15080) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:15080) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant