Resolving 'Command License File Content is Altered. Validation Failed' Error During Task Capture License Activation Via CMD

Why is the error 'Command License File Content is Altered. Validation Failed' displayed when activating Task Capture License Via CMD?

Issue Description:

When attempting to activate a UiPath Task Capture license using the Command Line Parameters from the UiPath documentation for installation and activation, you might encounter an error stating "License file content is altered. Validation failed." This article explores the root cause and provides a resolution for this issue.


Error Message:

Activation Failed: {"message":"License file content is altered. Validation failed.","code":"ERR1010","obj":{"originalError":{"name":"JsonWebTokenError","message":"jwt malformed"},"code":"ERR1010","message":"License file content is altered. Validation failed."}}

1.jpg


Root Cause:

This error is caused by a problem with the format of the license key used in the CMD command. The current format of the provided license key is incorrect, causing the activation process to fail.
image.png


Resolution:

The solution to this problem is to update the license key to the correct format. Here is an example of the correct format:

Correct license key: 1111-1111-1111-1111

Replace the invalid license key with the correct one in the CMD command and try activating the license again. Ensure that your license key follows the same format and doesn't include any additional characters or spaces.
image.png