"duplicate key error" account creation error still possible to trigger #2537

Closed
opened 2025-07-22 07:59:50 -07:00 by Animan8000 · 0 comments
Contributor

Creating in-game:

  • testsomeaccount@€
  • testsomeaccount@e

The second account would still trigger the error in the console and cannot be created, even with the latest commits.

2025-07-22T16:56:33:627 [0.1.0] error:  Error: error creating account E11000 duplicate key error collection: openWF.accounts index: DisplayName_1 dup key: { DisplayName: "testsomeaccount" } while processing /api/login.php request
    at loginController (D:\GitHub\spaceninjaserver\src\controllers\api\loginController.ts:61:23)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Creating in-game: - `testsomeaccount@€` - `testsomeaccount@e` The second account would still trigger the error in the console and cannot be created, even with the latest commits. ``` 2025-07-22T16:56:33:627 [0.1.0] error: Error: error creating account E11000 duplicate key error collection: openWF.accounts index: DisplayName_1 dup key: { DisplayName: "testsomeaccount" } while processing /api/login.php request at loginController (D:\GitHub\spaceninjaserver\src\controllers\api\loginController.ts:61:23) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) ```
Sainan added the
bug
label 2025-07-22 08:31:22 -07:00
Sainan added the
pr'd for
label 2025-07-22 08:32:01 -07:00
Sign in to join this conversation.
No description provided.