When I create a pull request, I get the message 400 Bad request and can't submit it.

Answered

When I create a pull request, I get the message "400 Bad request" and can't submit it.

I think it's because I updated the Rider version to the latest version.
There were no problems before.
 

 

JetBrains Rider 2024.1.2
Build #RD-241.15989.179, built on May 7, 2024
Runtime version: 17.0.10+1-b1207.14 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
.NET Core v8.0.1 x64 (Server GC)



 

1
4 comments

Please enable debug logs (Help - Diagnostic Tools - Debug Log Settings...) for the following categories

org.jetbrains.plugins.gitlab:trace

Then please reproduce the issue and share the entire logs folder zipped as per https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files

Also please check: https://youtrack.jetbrains.com/issue/IJPL-149789

 

Is everything okay with the token?

Did the location of the remote change recently? (Please check Manage remotes) 

1

For now, I'll paste the log that I was able to see now.

2024-06-03 09:12:53,257 [3896107]   INFO - #git4idea.commands.GitHandler - Done
2024-06-03 09:12:53,352 [3896202]   WARN - #o.j.p.g.p.u.t.m.GHPRToolWindowProjectViewModel - Could not lookup a pull request for current branch
org.jetbrains.plugins.github.exceptions.GithubStatusCodeException: 400 Bad request - <html><body><h1>400 Bad request</h1>
Your browser sent an invalid request.

 

0

I understand the cause
If the branch name contains Japanese characters, a 400 error will occur.
There was no problem before.
Have the specifications changed?

0

Please sign in to leave a comment.