-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
Bad Request on Merge Request Note creation (POST) #3595
Comments
AFAIK, the problem is not on the package side but on gitlab. If the POST request is made with query params, it works ...
is ok .. Question answered 🤷♂️, closing the issue, sorry for the spam |
Darn, this is the library. In the library i assume the POST request is sending a body and not via query params. Ill fix this |
The docs make no indication of this though -_-
|
Ill file an issue with GL to figure out what should be happening here. |
Cheers mate, thanks for the quick answer !
I found it on the PUT request doc : https://archives.docs.gitlab.com/16.5/ee/api/notes.html#modify-existing-merge-request-note |
Yea, there are definitely some inconsistencies. The example request for the modify call has it as a query param, but the upper docs make no indication that it should be a query param |
Description
Hey there, I don't know why but I can't create a note in a merge request. I know that the package suports Gitlab to its 16.5 version and I'm under 17 but the API does not seem to be different.
https://docs.gitlab.com/ee/api/notes.html#create-new-merge-request-note
https://archives.docs.gitlab.com/16.5/ee/api/notes.html#create-new-merge-request-note
I don't know if this is a bug of the package or the gitlab server. Am I the only one to experience this ?
Thanks for your help !
Steps to reproduce
Expected behaviour
If
targetNote
is undefined a new one is created.Actual behaviour
I have a Bad Request returned from the server
Checklist
The text was updated successfully, but these errors were encountered: