"%2d" is the url-encoded value of "-". Never faced this issue before. Might it be caused by copy-paste on terminal/browser?
On Wednesday, June 19, 2024, Suresh Kumar Anaparti < [email protected]> wrote: > Hi Francisco, > > I checked list hosts and storage pools with invalid uuid, and didn't notice > such chars in the response. Are the resource id (uuid) passed to APIs > without %2D? > > (testenv) > list hosts id=80f71346-f343-4d0d-a765-8316f928bd78 > > Error: (HTTP 431, error code 9999) Unable to execute API command listhosts > due to invalid value. Invalid parameter id > value=80f71346-f343-4d0d-a765-8316f928bd78 due to incorrect long value > format, or entity does not exist or due to incorrect parameter annotation > for the field in api cmd class. > > (testenv) > > > (testenv) > list hosts id=80f71346-f343-4d0d-a765%2D8316f928bd73 > > Error: (HTTP 431, error code 9999) Unable to execute API command listhosts > due to invalid value. Invalid parameter id > value=80f71346-f343-4d0d-a765%2D8316f928bd73 due to incorrect long value > format, or entity does not exist or due to incorrect parameter annotation > for the field in api cmd class. > > (testenv) > > > (testenv) > list storagepools id=335fee9d-d853-3a4c-a9a5-333dffd6b5c9 > > Error: (HTTP 431, error code 9999) Unable to execute API command > liststoragepools due to invalid value. Invalid parameter id > value=335fee9d-d853-3a4c-a9a5-333dffd6b5c9 due to incorrect long value > format, or entity does not exist or due to incorrect parameter annotation > for the field in api cmd class. > > > Regards, > Suresh > > On Wed, Jun 19, 2024 at 7:03 PM Francisco Arencibia Quesada < > [email protected]> wrote: > > > Good morning guys, > > > > All comments in my cloudstack are looking like this: > > nodo%2Dc > > > > with %2D everywhere and also I'm having this error: > > > > Unable to execute API command listhosts due to invalid value. Invalid > > parameter id value=19709264%2D2d95%2D4b0b%2Da847%2Dbd3db7c4de61 due to > > incorrect long value format, or entity does not exist or due to incorrect > > parameter annotation for the field in api cmd class. > > something is wrong with the encoding. > > > > Cloudstack 4.19 with kvm hypervisors. > > > > Kind regards > > Thanks in advance guys. > > > > > > -- > > *Francisco Arencibia Quesada.* > > *DevOps Engineer* > > >
