Cryptlex Forums

GetActivationMetadata - Unkown error

S
srose

I have created a meta-data field for my product and license using the dash-board and now want to retrieve the respective value using

this.product.featureA = LexActivator.GetActivationMetadata("featureA");

However, the underlying function
const status = LexActivatorNative.GetActivationMetadata(key, array, array.length);
returns 1 and the error is “Unknown Error”

What do I have to do to retrieve the meta-data?

Thanks!

A
Adnan KamiliCryptlex team

Hi,

1 (LA_FAIL) means that the license has not been activated.

S
srose

If I check the licenses it say its genuinely activated - the error must be something different…

A
Adnan KamiliCryptlex team

You should be calling GetLicenseMetadata(“featureA”) function.

S
srose

I got it to work. It was indeed a license-activation problem. Sorry for my confusion!

← Back to all topics · 5 posts · 848 views · opened 2021-03-16