The green user connection indicator is not displayed correctly if the user was created through the API. What could this be about?
Incorrect connection indicator:
I create a new user via POST request /api/user
I copy the subscription/configuration
I add the subscription/configuration to the application on the device
I'm connecting
The user indicator in Marzban does not turn green and traffic statistics are not displayed, but why does the indicator turn green for the user who was last added to marzban
After disconnecting the connection to the applications on the device, the green indicator turns off in the Marzban panel for the user who was added last.
The correct connection indicator:
I create manually in the admin panel (GUI) of the user
I copy the subscription/configuration
I add the subscription/configuration to the application on the device
I'm connecting
The user indicator in Marzban turns green and traffic statistics are displayed
The error was that through the API in the "vless" object: { "id" - the same one was assigned. It was necessary not to specify in the request that it was generated independently.
The green user connection indicator is not displayed correctly if the user was created through the API. What could this be about?
Incorrect connection indicator:
The correct connection indicator: