[GH-ISSUE #4611] [Bug]: Deleting client fails when linked node has already been removed #3166

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

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

Describe the bug

If a node was deleted but was still linked to a client, then when attempting to delete the client, the error "Something went wrong (record not found)" appears, and it also prevents the node from being removed from the client's profile.

How to reproduce the problem

Create a client.
Create or assign a node to that client.
Delete the node while it is still linked to the client.
Open the client’s profile and try to remove the deleted node from the client.
Try to delete the client.
Observe that the error “Something went wrong (record not found)” appears, and the client cannot be deleted.

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.1.0

Xray-core version

No response

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 24.04

Which parts of the panel are affected?

No response

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

None

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 @ALFiX01 on GitHub (May 28, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4611 ### Describe the bug If a node was deleted but was still linked to a client, then when attempting to delete the client, the error "Something went wrong (record not found)" appears, and it also prevents the node from being removed from the client's profile. ### How to reproduce the problem Create a client. Create or assign a node to that client. Delete the node while it is still linked to the client. Open the client’s profile and try to remove the deleted node from the client. Try to delete the client. Observe that the error “Something went wrong (record not found)” appears, and the client cannot be deleted. ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.1.0 ### Xray-core version _No response_ ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 24.04 ### Which parts of the panel are affected? _No response_ ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? None ### 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:31 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@moshkinura commented on GitHub (May 28, 2026):

I confirm this problem

<!-- gh-comment-id:4565063784 --> @moshkinura commented on GitHub (May 28, 2026): I confirm this problem
Author
Owner
<!-- gh-comment-id:4565330035 --> @MHSanaei commented on GitHub (May 28, 2026): https://github.com/MHSanaei/3x-ui/actions/runs/26578856585
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#3166
No description provided.