Mender-cli only returns 20 devices, but we have 54

We’re using hosted mender. When I run mender-cli devices list I only get back info on 20 devices, but we have 54. I’m using mender-cli 1.12.0 from the Downloads page.

Hi @bssi,

Yes, that’s basically a bug due to pagination. I’ll raise it to the devs, but for the meantime the easiest workaround is to call the API directly, like Mender API docs, for example using curl.

Greetz,
Josef

Ok, thank you.

1 Like