Skip to content
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

[10.x] iids is invalid #573

Closed
andrey-helldar opened this issue Sep 9, 2020 · 3 comments
Closed

[10.x] iids is invalid #573

andrey-helldar opened this issue Sep 9, 2020 · 3 comments

Comments

@andrey-helldar
Copy link

andrey-helldar commented Sep 9, 2020

I am sending a request to get a list of comments for MR

Version 9.19 generated a request like this (working):

/api/v4/projects/31/merge_requests?iids[]=21

Version 10 makes a request like this (doesn't work):

/api/v4/projects/31/merge_requests?iids%5B0%5D=21

Therefore, the gitlab returns an error:

iids is invalid
{
    "error": {"type": "ValidationFailedException", "data": "iids is invalid"}, "info": {
    "exception": "Gitlab\\Exception\\ValidationFailedException",
    "file": "\/var\/www\/tunnel\/vendor\/m4tthumphrey\/php-gitlab-api\/src\/HttpClient\/Plugin\/GitlabExceptionThrower.php",
    "line": 60
}
@andrey-helldar andrey-helldar changed the title iids is invalid [10.x] iids is invalid Sep 9, 2020
@GrahamCampbell
Copy link
Member

Fixed.

@andrey-helldar
Copy link
Author

Thank you!

@GrahamCampbell
Copy link
Member

9.19.1, 10.0.1 and 10.1.0 will be tagged soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants