-
-
Notifications
You must be signed in to change notification settings - Fork 300
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
HTTPError: Response code 400 (Bad Request) #1146
Comments
This will be fixed soon. Im exposing the source in #1112 PR |
the same problem, i create an existed branch, but i can't get error message though in devtools -> network i can find it, but in my code, it is "HTTPError: Response code 400 (Bad Request)" like above |
when I create a MR ike this it works! return gitlab.MergeRequests.create(
123,
'develop',
'master',
'super release',
{
assigneeIid: 13,
description: 'Release all the things',
removeSourceBranch: false,
labels: 'release'
}
); Just don't wrap the options in an object 🤷🏼♂️ |
The function doesnt take in an object to begin with, which would be the source of your problem hehe as @stereonom found out ^ there |
Description
I am trying to create a merge request which unexpectly fails. The GitLab API is accesible and I double checked by post curl the same request.
Works:
Steps to reproduce
Try to run the above JS maybe. Idk but this is a internal GitLab so pretty impossible.
Possible fixes
I would like to dig deeper into this but cannot see any
debug
orverbose
option. Debugging through the sourcecode is impossible due to #1114The text was updated successfully, but these errors were encountered: