-
Notifications
You must be signed in to change notification settings - Fork 601
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
Creating pull requests failed: HttpError: Validation Failed #1234
Comments
I believe I am having the same issue trying to create a pull request when following I was able to create the pull request manually using the 'hub pull-request' command, Installation details: Code - Insiders Installed Extensions: Pull request output: [Info] Looking for git repository |
Any solution to this? I'm having the same issue |
+1 here. |
+1 |
1 similar comment
+1 |
The same issue. Please fix. |
+1 |
1 similar comment
+1 |
+1 Any Solution for this? |
Unfortunately, the logs aren't currently detailed enough to know what the exact cause is - there are several reasons why validation might fail when creating a pull request. One common one is there being no difference in commits between the target branch and the current branch. Possibly the extension isn't correctly setting a title. I have already check in a change that should fix the way we format the error from GitHub, so there should be more details in both the extension output log and in the notification. This is available in the nightly version of the extension (https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github-insiders), can you give it a try there to see if there's more information? Note that if you do install the nightly version, you should disable the normal version of the extension so that they don't conflict with each other |
+1 |
Extension version 0.12.0 should now show a more detailed error notification when this happens - please let me know what you see |
+1 |
@jzsplk Was there any additional information in the error? What version of the extension are you using? |
+1
Any Solution for this? |
I had the same issue. it appears that I was logged in with my private github user and not with the github user I have for work. |
I keep getting this warning when trying to create a pull request: Creating pull requests for 'Scyfren:Scyfren/issue18' failed: Validation Failed: Value "undefined" cannot be set for field undefined (code: custom) I'm sure that I'm putting in a title name when using custom. This even shows up when trying to use the commit and branch option. I think it started happening when I accidentally tried to create a pull request using the custom option but with no title. |
Reproduced with plugin version v0.18.0 and VS Code 1.47.3 with git version 2.27.0.windows.1 on Windows 10 1909. |
I also get this with visual code 1.47.3 running on ubuntu 18.04.1 VM in azure. The full error message is Creating pull requests for 'mrevow:master' failed: Validation Failed: Value "undefined" cannot be set for field undefined (code: custom) |
I tried back and forth and have found some kind of rules(?) where it doesn't complain validation error and works fine. |
Seems this issue has been open a long time with many people hitting it. Can't anything be done about it? |
I solved it by clearing the code source and doing a fresh clean copy. |
Any solution to this? I'm having the same issue |
Ok thanks!! |
Whenever I try to create a PR I get
right after I choose target branch
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: