-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Error creating pull request: Unprocessable Entity #114
Comments
I get the same error when using -b, i.e.
|
D'oh. I had not pushed the branch I was on. Doing so fixed this. |
That wasn't the problem I had, but it has worked for me recently. I don't know what is different now. |
That is the exception that GitHub throws when there's something wrong about the pull-request being created, for instance if another pull-request for the same fork+branch already exists. I should handle this exception with a better error message, but I can't know what exactly went wrong. |
I get the same issue and I've made sure the branch has been pushed to github. I did some digging and found the error messages thrown by github, they are: |
I know its an old issue but you mentioned adding better error messaging and now I'm still hitting an issue returning same error "Error creating fork: Unprocessable Entity (HTTP 422)". Steps to repro:
I made sure my token was up to date but maybe the oauth scope needs more permissions, or can I not use hub fork like that? |
@marr Please update to v1.12.0 to see if your problem persists. If it's the same, in that release you can set the |
I have problems with the pull-request command.
What does that mean? 183 is the number of an existing issue on GitHub.
The text was updated successfully, but these errors were encountered: