# Pycharm environment variables and license

**URL:** <https://forum.rasa.com/t/pycharm-environment-variables-and-license/66751>\
**Category:** Rasa Open Source\
**Created:** [April 12, 2025, 1:20pm UTC](https://forum.rasa.com/t/pycharm-environment-variables-and-license/66751 "2025-04-12T13:20:42Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ftg\_programmer](https://avatars.discourse-cdn.com/v4/letter/f/54ee81/32.png) [@ftg\_programmer](https://forum.rasa.com/u/ftg_programmer)\
**Post date:** [April 12, 2025, 1:20pm UTC](https://forum.rasa.com/t/pycharm-environment-variables-and-license/66751/1 "2025-04-12T13:20:42Z")

</div>

Hi two days ago i used rasa as an api in my python code in pycharm ide. but now when i try to run it does’nt reconize its RASA\_PRO\_LICENSE.i had set the environment vars before and worked.but now it gives me errors. this is the error : rasa run --enable-api 2025-04-11 22:22:31 [error] license.validation.error error=LicenseEncodingException(‘Could not decode license as JWT.’) Failed to validate Rasa Pro license which was read from environmental variable `RASA_PRO_LICENSE`. Please ensure `RASA_PRO_LICENSE` is set to a valid license string. i cant get it to work.i hope u could share some ideas and help me with that

---

_[View the full topic](https://forum.rasa.com/t/pycharm-environment-variables-and-license/66751)._
