Hello,
We have recently encountered a problem we have not seen before. Normally when we call 'limelm.pkey.getDetails' we receive it in the standard "JSON Response Format". However with one particular License Key (so far) we are getting what appears to be a raw string.
Here are the correct and incorrect versions for comparison (with the key details removed for privacy reasons):
CORRECT:
{ pkey:
{ key: 'XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX',
acts: 1,
acts_used: 1,
created: '2020-09-17 11:11:47',
total_deacts: 0,
deac_limit: 'unlimited',
for_tfs: 'false',
allow_vm: 'yes',
version_id: 7164,
lc_allow_offline_act: 'inherit',
lc_allow_deact: 'inherit',
lc_self_deact_limit: 'inherit',
lc_self_deact_limit_term: 'no-term-limit',
lc_view_extradata: 'inherit',
lc_view_fields: 'inherit',
email: 'abc@abc.com',
activations: { act: [Array] },
features: { feature: [Array] } },
stat: 'ok' }
MALFORMED (as raw string):
{"pkey":{"key":"XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXXX","acts":1,"acts_used":1,"created":"2020-09-17 11:11:47","total_deacts":0,"deac_limit":"unlimited","for_tfs":"false","allow_vm":"yes","version_id":7164,"lc_allow_offline_act":"inherit","lc_allow_deact":"inherit","lc_self_deact_limit":"inherit","lc_self_deact_limit_term":"no-term-limit","lc_view_extradata":"inherit","lc_view_fields":"inherit","email":"abc@abc.com","activations":{"act":[{"id":15815176,"ip":"172.254.38.210","date":"2020-09-17 11:13:30","type":"windows","extra_data":"Abc Anderson (Desktop:abc@abc.com:ABC Design Group Architects:xyy7ZjdiM+PiPawa5PUb9LIAy6y8hsuepn5VxtZ0cNw="}]},"features":{"feature":[{"name":"BillingStartDate","value":"2020-09-17 11:11:47"},{"name":"ExpiryDate","value":"2020-11-22"}]}},"stat":"ok"})
This is a rather urgent issue as our License management system is failing due to this data not being the expected JSON format.
Thank you.