Cristian,

I see "4.5.2" in api call in log. Haven't noticed it before. I may only suggest to call the same function from UI with the same user ID and check log for correct API request parameters. I haven't been using API so much, but signature calculation was always problematic for me, so I copied it from the log.

Vadim.


Cristian,

It would be nice to know which CS version do you use? :)

Vadim

On 2015-⁠09-⁠10 00:01, Cristian Ciobanu wrote:

Hello,

I have the following issue when i call the API, can someone tell me what is wrong on my configuration ?

2015-09-09 22:56:35,071 INFO [a.c.c.a.ApiServer] (catalina-exec-2:ctx-9f0b0be5 ctx-88500807 ctx-da66b9f0) (userId=4 accountId=4 sessionId=null) 172.20.217.237 -- GET apikey=YldqK50HK18FPp4bGvUvO-0l4OFG67Bsa_BbpSWXH3sUPw7h7dbQVEzjil5yyYv41r9cReUr2cPXUi2bUHUx1g&command=listCapabilities&response=json&signature=5b9PvDifkSK2JB1WJ1ssaVq1v%2BM%3D 200 {"listcapabilitiesresponse":{"capability":{"securitygroupsenabled":false,"cloudstackversion":"4.5.2","userpublictemplateenabled":true,"supportELB":"false","projectinviterequired":false,"allowusercreateprojects":true,"customdiskofferingminsize":1,"customdiskofferingmaxsize":1024,"regionsecondaryenabled":false,"kvmsnapshotenabled":false}}} 2015-09-09 22:56:35,089 INFO [a.c.c.a.ApiServer] (catalina-exec-4:ctx-eee702f9 ctx-da90e1a6) 172.20.217.237 -- GET apikey=YldqK50HK18FPp4bGvUvO-0l4OFG67Bsa_BbpSWXH3sUPw7h7dbQVEzjil5yyYv41r9cReUr2cPXUi2bUHUx1g&command=listStoragePools&response=json&signature=u9bX0SoqNm7wmO9uAln5YzAnTak%3D 432 The given command:listStoragePools does not exist or it is not available for user with id:null

Thanks

Regards,
Cristian

Reply via email to