[GH-ISSUE #4681] [Bug]: SessionMaxAge:invalid input #3229

Closed
opened 2026-10-31 20:30:58 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @mohsenmomeni007 on GitHub (May 30, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4681

Describe the bug

Hi i wanna change my telegram token but let me this error

Image

How to reproduce the problem

  1. open panel setting
  2. telegram bot tab settitng
  3. change telegram token
  4. save

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.2.0

Xray-core version

26.5.9

How did you install 3x-ui?

Docker / Docker Compose

Operating system

Ubuntu 22.04.5

Which parts of the panel are affected?

Telegram bot

Browser (only if it is a UI bug)

firefox 151.0.2

Is the panel behind a reverse proxy or CDN?

Yes — Nginx

Before submitting

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
Originally created by @mohsenmomeni007 on GitHub (May 30, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4681 ### Describe the bug Hi i wanna change my telegram token but let me this error <img width="1366" height="640" alt="Image" src="https://github.com/user-attachments/assets/cf9c3c9c-5dc2-4488-946c-5edd4bb1715a" /> ### How to reproduce the problem 1. open panel setting 2. telegram bot tab settitng 3. change telegram token 4. save ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.2.0 ### Xray-core version 26.5.9 ### How did you install 3x-ui? Docker / Docker Compose ### Operating system Ubuntu 22.04.5 ### Which parts of the panel are affected? Telegram bot ### Browser (only if it is a UI bug) firefox 151.0.2 ### Is the panel behind a reverse proxy or CDN? Yes — Nginx ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:30:58 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Serg-lab26 commented on GitHub (May 30, 2026):

The same thing happens when setting up the "Network Proxy Panel." When I click "Save," a pop-up window appears with the error "sessionMaxAge: Invalid input." The same thing happens when changing the Telegram bot's notifications in the "Notification frequency for administrators from the bot" window.

<!-- gh-comment-id:4581941449 --> @Serg-lab26 commented on GitHub (May 30, 2026): The same thing happens when setting up the "Network Proxy Panel." When I click "Save," a pop-up window appears with the error "sessionMaxAge: Invalid input." The same thing happens when changing the Telegram bot's notifications in the "Notification frequency for administrators from the bot" window.
Author
Owner

@MHSanaei commented on GitHub (May 31, 2026):

sessionMaxAge max value is 525600 can't be more than this

<!-- gh-comment-id:4587372339 --> @MHSanaei commented on GitHub (May 31, 2026): sessionMaxAge max value is 525600 can't be more than this
Author
Owner

@mohsenmomeni007 commented on GitHub (Jun 3, 2026):

The same thing happens when setting up the "Network Proxy Panel." When I click "Save," a pop-up window appears with the error "sessionMaxAge: Invalid input." The same thing happens when changing the Telegram bot's notifications in the "Notification frequency for administrators from the bot" window.

Image Image

I SOLVED THIS

change marked feild to 525600
@MHSanaei Thanks friend

<!-- gh-comment-id:4609074132 --> @mohsenmomeni007 commented on GitHub (Jun 3, 2026): > The same thing happens when setting up the "Network Proxy Panel." When I click "Save," a pop-up window appears with the error "sessionMaxAge: Invalid input." The same thing happens when changing the Telegram bot's notifications in the "Notification frequency for administrators from the bot" window. <img width="1366" height="640" alt="Image" src="https://github.com/user-attachments/assets/446e0ed7-b45e-437d-a033-aae5a0e0c4a5" /> <img width="1585" height="901" alt="Image" src="https://github.com/user-attachments/assets/ed72b5fa-c5e1-45f0-bb0e-08ea90c753b7" /> I SOLVED THIS change marked feild to 525600 @MHSanaei Thanks friend
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#3229
No description provided.