[GH-ISSUE #4026] Record not found error in panel #2727

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

Originally created by @OffbeatRaptor on GitHub (Apr 15, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4026

Describe the bug

For some reason, in the panel a client randomly breaks after some time of regular usage with API calls, manual edits etc. and it is impossible to delete it no matter what you do.

Some other people have also had this issue, but it has never been resolved.

If you try to delete such client, you will get an error "record not found" and the client will not be deleted at all.

Image Here's some special notes to it: - those clients are marked by the purple dot, but they were originally created as a client that's supposed to expire (eg. the green dot) - you can connect to that broken client, but the panel will not display it as online - it doesn't track anything related to that client, no usage, no nothing - you can edit it's expiry times, subscription id, UUID and anything in it, but you're still unable to delete it no matter what

How to repeat the problem?

Unknown, happens randomly

Expected action

The client is supposed to be deleted without any errors, but you recieve an error
Image
The client data usage must be tracked, but it is being somewhat in a softlock state.

Received action

No response

3x-ui Version

2.8.11

Xray-core Version

26.3.27

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @OffbeatRaptor on GitHub (Apr 15, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4026 ### Describe the bug For some reason, in the panel a client randomly breaks after some time of regular usage with API calls, manual edits etc. and it is impossible to delete it no matter what you do. Some other people have also had this issue, but it has never been resolved. If you try to delete such client, you will get an error "record not found" and the client will not be deleted at all. <img width="1479" height="38" alt="Image" src="https://github.com/user-attachments/assets/84d73581-6f18-4936-85d5-7933eaeec246" /> Here's some special notes to it: - those clients are marked by the purple dot, but they were originally created as a client that's supposed to expire (eg. the green dot) - you can connect to that broken client, but the panel will not display it as online - it doesn't track anything related to that client, no usage, no nothing - you can edit it's expiry times, subscription id, UUID and anything in it, but you're still unable to delete it no matter what ### How to repeat the problem? Unknown, happens randomly ### Expected action The client is supposed to be deleted without any errors, but you recieve an error <img width="304" height="44" alt="Image" src="https://github.com/user-attachments/assets/845a75e4-1a86-4031-a947-7e8f154cd8ff" /> The client data usage must be tracked, but it is being somewhat in a softlock state. ### Received action _No response_ ### 3x-ui Version 2.8.11 ### Xray-core Version 26.3.27 ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:27:30 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@OffbeatRaptor commented on GitHub (Apr 25, 2026):

The issue was never solved, and was closed without a reason?

<!-- gh-comment-id:4318068883 --> @OffbeatRaptor commented on GitHub (Apr 25, 2026): The issue was never solved, and was closed without a reason?
Author
Owner

@OffbeatRaptor commented on GitHub (Apr 25, 2026):

@MHSanaei

<!-- gh-comment-id:4318069227 --> @OffbeatRaptor commented on GitHub (Apr 25, 2026): @MHSanaei
Author
Owner

@wqqzxts commented on GitHub (May 2, 2026):

hi, i'm having the same problem -- it happened 2 times for me

<!-- gh-comment-id:4362767868 --> @wqqzxts commented on GitHub (May 2, 2026): hi, i'm having the same problem -- it happened 2 times for me
Author
Owner

@GreatTeejay commented on GitHub (May 24, 2026):

this bug is still exists

<!-- gh-comment-id:4527737981 --> @GreatTeejay commented on GitHub (May 24, 2026): this bug is still exists
Author
Owner

@Jhonny-2005 commented on GitHub (Jun 4, 2026):

I still have this issue on version 3.2.7 when trying to delete a client or change a client.
handler=controller.(*ClientController).update client.go:134] Something went wrong. Error: record not found

<!-- gh-comment-id:4625063192 --> @Jhonny-2005 commented on GitHub (Jun 4, 2026): I still have this issue on version 3.2.7 when trying to delete a client or change a client. handler=controller.(*ClientController).update client.go:134] Something went wrong. Error: record not found
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#2727
No description provided.