# Unable to complete the request: Invalid Token

**URL:** <https://forum.radsystems.io/t/unable-to-complete-the-request-invalid-token/2842>\
**Category:** PyRad Vue\
**Created:** [May 8, 2025, 11:03am UTC](https://forum.radsystems.io/t/unable-to-complete-the-request-invalid-token/2842 "2025-05-08T11:03:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Emna](https://forum.radsystems.io/letter_avatar_proxy/v4/letter/e/3ab097/32.png) [@Emna](https://forum.radsystems.io/u/Emna)\
**Post date:** [May 8, 2025, 11:03am UTC](https://forum.radsystems.io/t/unable-to-complete-the-request-invalid-token/2842/1 "2025-05-08T11:03:27Z")

</div>

I’m working with PyRad, Flask, and PrimeVue. I’ve implemented a simple authentication system — the authentication itself works, but when I try to log in, I consistently get the error: ‘Unable to complete the request – Invalid Token’. How can I fix this issue??? helpp  
the log return: 127.0.0.1 - - [08/May/2025 12:00:30] “POST /api/auth/login HTTP/1.1” 200 -  
127.0.0.1 - - [08/May/2025 12:00:30] “OPTIONS /api/account/currentuserdata HTTP/1.1” 200 -  
127.0.0.1 - - [08/May/2025 12:00:31] “GET /api/account/currentuserdata HTTP/1.1” 401 -

---

<div class="post-metadata">

**Author:** ![Emna](https://forum.radsystems.io/letter_avatar_proxy/v4/letter/e/3ab097/32.png) [@Emna](https://forum.radsystems.io/u/Emna)\
**Post date:** [May 8, 2025, 12:33pm UTC](https://forum.radsystems.io/t/unable-to-complete-the-request-invalid-token/2842/2 "2025-05-08T12:33:35Z")

</div>

@willvin help?? Unable to complete the request – Invalid Token

---

<div class="post-metadata">

**Author:** ![willvin](https://forum.radsystems.io/user_avatar/forum.radsystems.io/willvin/32/7_2.png) [@willvin](https://forum.radsystems.io/u/willvin)\
**Post date:** [May 9, 2025, 3:24pm UTC](https://forum.radsystems.io/t/unable-to-complete-the-request-invalid-token/2842/3 "2025-05-09T15:24:34Z")

</div>

What version of Radsystems Studio, what version of Python, and is this the default configuration of Radsystems Studio, or are you implementing something custom?

---

<div class="post-metadata">

**Author:** ![Emna](https://forum.radsystems.io/letter_avatar_proxy/v4/letter/e/3ab097/32.png) [@Emna](https://forum.radsystems.io/u/Emna)\
**Post date:** [May 9, 2025, 3:29pm UTC](https://forum.radsystems.io/t/unable-to-complete-the-request-invalid-token/2842/4 "2025-05-09T15:29:24Z")

</div>

I use Radsystems 8.7.0 , Python version 3.13 , and this is the default configuration of Radsystems , i did´t change anything on it

---

<div class="post-metadata">

**Author:** ![willvin](https://forum.radsystems.io/user_avatar/forum.radsystems.io/willvin/32/7_2.png) [@willvin](https://forum.radsystems.io/u/willvin)\
**Post date:** [May 9, 2025, 3:31pm UTC](https://forum.radsystems.io/t/unable-to-complete-the-request-invalid-token/2842/5 "2025-05-09T15:31:51Z")

</div>

Use **Python 3.8.10** or you upgrade to the latest version of **Radsystems Studio**.

---

<div class="post-metadata">

**Author:** ![Emna](https://forum.radsystems.io/letter_avatar_proxy/v4/letter/e/3ab097/32.png) [@Emna](https://forum.radsystems.io/u/Emna)\
**Post date:** [May 9, 2025, 4:05pm UTC](https://forum.radsystems.io/t/unable-to-complete-the-request-invalid-token/2842/6 "2025-05-09T16:05:37Z")

</div>

Problem solved, thanks @willvin ! i downgraded the Python version to 3.8.10 as you suggested
