Mar 21, 2012, 06:14 AM
Cannot create PLESK_10_AND_LATER without any upgrade plans
I am new Key Administrator API and Paralles so I hope I am posting this in the correct forum.
I'm trying to create a PLESK_10_AND_LATER key without any upgrade plans using the method partner10.createKey from the Key Administrator API. However the API returns with the error code 290, message 'Invalid Key configuration'. I cannot find this error code in the API documentation. Creating the key with an upgrade plan (e.g 100_DOMAINS) works just fine.
Does anybody have an idea what might be going wrong here. Sorry if I am missing something obvious here.
With kind regards,
Michel de Jong
Aug 16, 2012, 06:35 AM
I would like to ask you on the same topic,
Have you ever encountered the 202 error (Access denied for this object).
I having problems creating new key ?
any ideas. ??
Aug 20, 2012, 01:57 AM
No I have not encountered that error number before. However it sounds like you limited access to the API. Can you create a key via the Key Administrator interface?
Sorry I couldn't be more of a help.
Aug 20, 2012, 02:12 AM
Hi, thanks for the reply
Yes i can create keys in the interface and i have provided the user all objects
I can terminate and add note even retreive keys but not create
Its really confusing, i am wondering why not Parralells answer these questions. ?
Aug 21, 2012, 02:38 AM
I would think that if you do not have access to the certain aspects of the API this wouldn't work
via the Administrator interface either. What kind of programming language do you use to access the API?
Aug 21, 2012, 02:47 AM
I use Perl to create the keys,
its very strange, If I edit the script and play around with the var, I get different errors, like Authentication failed and so on, Its only Access is denied to this object that I keep getting. all other scripts like retreive and terminate are passing.
I can create keys in the interface without issue, as my company is a Parrallels Partner.
What Language are you using ?
Aug 28, 2012, 02:10 AM
I also use perl to manage keys/licenses. This helped me a lot while creating the client for the API:
Can you post the createKey request?
Aug 28, 2012, 03:38 AM
Thanks for your reply.
I have read every doc they have posted but again it was miss-leading. not clear as usual.
I managed to fix it, It was this part.
3 - string - login or id of the client, who will own created key
I was using the API login, where they meant to say the web login.
Tags for this Thread