400 error - Admin users/list

  "software": {
    "name": "peertube",
    "version": "8.1.2"

URL: https://domain.com/admin/overview/users/list

Sub request / http call that is causing a 400 Bad request error:

https://domain.com/api/v1/blocklist/status?accounts=name1@domain.com&accounts=name99@domain.com

100 accounts are in that query string, orderd by the first users of the platform.

Response:

{
« type »: « about:blank »,
« title »: « Bad Request »,
« detail »: « Incorrect request parameters: accounts »,
« instance »: « /api/v1/blocklist/status?accounts=name1@domain.com&accounts=name2@domain.com&accounts=nameX@domain.com»,
« status »: 400,
« invalid-params »: {
« accounts »: {
« type »: « field »,
« value »: [
{
« 0 »: « name1@domain.com »,
« 1 »: « name2@domain.com »,
« 2 »: « name3@domain.com »,
« 3 »: « name4@domain.com »,
« 4 »: « name5@domain.com»,
« 99 »: « name100@domain.com »
}
],
« msg »: « Should have a valid accounts array »,
« path »: « accounts »,
« location »: « query »
}
}
}

1 « J'aime »

Hi,

Thank you, it will be fixed in next version (8.1.4)