# Troubleshooting Kendo UI License Error, Resolving Console Warning, and Watermark on Components

## Environment

<table>
    <tbody>
	    <tr>
	    	<td>Product</td>
	    	<td>Progress® KendoReact</td>
	    </tr>
    </tbody>
</table>

## Description

When upgrading your Kendo UI package or renewing the Kendo UI license, you could encounter issues with the license activation such as the console showing a warning that the license is expired, or there is a watermark on the components indicating an invalid license.

## Solution

To resolve the issue, follow these steps:

1. Confirm the expiration date of your license by referring to the [Downloading the License key](https://www.telerik.com/kendo-react-ui/components/my-license#download-your-license-key-file) article. Download the key and replace the one that you are using.

2. If you're setting the license key as an environment variable, verify that there is no older version of the license key. Check both current and legacy variable names:

   **Current variable (2025 Q1+):**

   ```sh macOS/Linux
   echo $TELERIK_LICENSE
   ```

   ```sh Windows PowerShell
   Write-Output $env:TELERIK_LICENSE
   ```

   ```sh Windows Command Prompt
   echo %TELERIK_LICENSE%
   ```

   **Legacy variable (pre-2025 Q1):**

   ```sh macOS/Linux
   echo $KENDO_UI_LICENSE
   ```

   ```sh Windows PowerShell
   Write-Output $env:KENDO_UI_LICENSE
   ```

   ```sh Windows Command Prompt
   echo %KENDO_UI_LICENSE%
   ```

   The output should be empty for both variables. If not empty, delete the environment variables and reset them to the new license key using the current `TELERIK_LICENSE` variable name.

3. Delete the *node_modules* folder and the lock file (*package-lock.json*, *yarn.lock*, or *pnpm-lock.yaml* depending on your package manager).

4. Clear the package manager cache:

   ```sh NPM
   npm cache clean --force
   ```

   ```sh YARN
   yarn cache clean
   ```

5. Install all the packages:

   ```sh NPM
   npm install
   ```

   ```sh YARN
   yarn install
   ```

6. [Activate the license](https://www.telerik.com/kendo-react-ui/components/my-license#install-or-update-the-license-key-file-in-your-project) and run the application.

## Notes

* Make sure you have a valid Kendo UI license before proceeding with the activation.
* If the issue persists, please [contact our support team](https://www.telerik.com/account/support-center/contact-us/technical-support) for further assistance.

## Suggested Link

* [Setting Up Your KendoReact License Key](https://www.telerik.com/kendo-react-ui/components/my-license)
* [License Activation Errors and Warnings](https://www.telerik.com/kendo-react-ui/components/my-license/license-errors-and-warnings)
* [Adding Deployment Keys to CI/CD Services](https://www.telerik.com/kendo-react-ui/components/my-license/ci-services)
* [Frequently Asked Questions about Your KendoReact License Key](https://www.telerik.com/kendo-react-ui/components/my-license/faq)
