"Could not update account information" when aborting mission #995

Closed
opened 2025-02-23 02:26:44 -08:00 by Animan8000 · 9 comments
Contributor

Noticed this issue today. Of course everything up to date. Happens everytime I abort a mission.

{6176E3DD-504F-4D9C-8E13-43F6B9976645}.png
2025-02-23T11:24:35:290 [0.1.0] http:   POST /api/updateChallengeProgress.php?accountId=672dd02d2d1923468d8ed929&nonce=1243477007392216&ct=MSI 500 92.185 ms - -
2025-02-23T11:24:42:524 [0.1.0] debug:  mission report: {
  crossPlaySetting: 'ENABLED',
  rewardsMultiplier: 1,
  Upgrades: [
    {
      ItemType: '/Lotus/Upgrades/Mods/Randomized/LotusShotgunRandomModRare',
      ItemId: { '$oid': '67b9cc994ee7511d43924e5b' },
      FromSKU: false,
      UpgradeFingerprint: '{"challenge":{"Type":"/Lotus/Types/Challenges/RandomizedWallClingKillstreak","Progress":0,"Required":17,"Complication":"/Lotus/Types/Challenges/Complications/Invisible"}}',
      PendingRerollFingerprint: '',
      ItemCount: 1,
      LastAdded: { '$oid': '000000000000000000000000' }
    }
  ],
  MissionFailed: false,
  MissionStatus: 'GS_QUIT',
  AliveTime: 3,
  MissionTime: 3,
  Missions: { Tag: 'SolNode223', Completes: 0, Tier: 0 },
  LastRegionPlayed: 'Mercury',
  GameModeId: 1223,
  matchMakingMode: 0,
  hosts: 'solo',
  ChallengeProgress: [ { Name: 'PlayHoursHidden', Progress: -2005299168, Completed: [] } ],
  PS: 'TtlbVFVWV1hbUPYLhgy8WHGfdhoFhF9mcDI1WlpOWjkBt3oV6ir9XEJ4II43DJ18fDSnv+aeJy7/ooHkONVifkLFnLFLaaocpq1K1fQE6MjkzYEu7u+I8jW/5jV/XMu/m+V5pu1/LYKLtIRmgBhNAPG3zCLPC1N4rWwbgySCa1LqI9AK3jN5/lux+dM67eZaNs38w6nz/tKcLMtt9Uk9AubG5AaBx+GB2FOpUKvHmOlf/aOwpTR1zjFj+4vs1jGdTi+bcuQOPuIyiWkxTOiV7y7atimSbs65OZAG35FJnlqsQ024oAp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6/+UkqmMRl7Bs3Dw53VVzUKlvu+RGDHAEOGxihq0bb+pdyE+CHTJBqt3uyqdd4itGwcmUDvQ3vDscoHteiI7uZCy9sgQIajpa2vIeLguihePuHFB50WKdK9DVDgQUTa+LFDrgp18+mLSTZlSgdkcMLt0E+dt5zWScTKkfElOIq2gM2jj6VqDy0l8Mx2sb67/jHS5LxssV8ivdYBXrkPEVo6Mc000DaEB8i71BopwJHbiSepo9DmFS692QGGgHREKle/NoZRyd/ivYEAcFf2kYGCoWzsFX4+HOIjNtVFeHBnYwgamDrzPzyvGs//760eIFJfvsF5M5mANtgLanU81LcqnRutHrw7/MF0RU5u7TCgE1NMnxFuKX3E0BductJAfYadT73t1msbXOlQvzxyWQc4k5+6WFvgmMFVyBtTkOvQyF9peLJqBSJEQTRef0BqtIcwQiyVu9iVZPAaRA75P84YfChu1Pg/CHUJiyQNVwqD/j/OOMI4LiXkltWaIU9/n/ZP4wlfUGVmHZd/TzjKTj0QTM7bN+AtqmYMsCdDKx3lkavttlwsMSlueBa9BrUFW831FrhDgjM7Z8q6JAi36d64jDAK5CA5G3/lRwCd1GuG8XYgvmoShOYW0TP2SnYt5EMrWu9pFMzQ6aXpZt3osH1wDNcgsX/rWJSm+yo5cLQ5ADZ25ss3DyN0XSgBkj7BUvwKhEWWXrWuLR6IZ7ZI9uOAoDhZN5zy8GBvEtvndFntwDVsUJz1E50RjH6fNcGkHqtpilaVJYx710WiVSLsGBFLMPq6/wFE=',
  ActiveDojoColorResearch: '',
  MissionPTS: 1740306219,
  RepHash: '46eOIsW3Zy0!',
  EndOfMatchUpload: true
}
2025-02-23T11:24:42:596 [0.1.0] error:  ValidationError: Inventory validation failed: PendingCoupon.Expiry: Cast to date failed for value "{ '$date': { '$numberLong': '0' } }" (type Object) at path "Expiry" while processing /api/missionInventoryUpdate.php request
    at Document.invalidate (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:3334:32)
    at Subdocument.invalidate (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\types\subdocument.js:229:12)
    at _init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:802:18)
    at init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:749:5)
    at Document.$__init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:707:3)
    at SingleNested.syncWrapper [as $__init] (D:\GitHub\spaceninjaserver\node_modules\kareem\index.js:331:25)
    at Document.init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:651:8)
    at Document.$init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:667:42)
    at SchemaSubdocument.cast (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\schema\subdocument.js:184:12)
    at _init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:799:35)
2025-02-23T11:24:42:597 [0.1.0] http:   POST /api/missionInventoryUpdate.php?accountId=672dd02d2d1923468d8ed929&nonce=1243477007392216&ct=MSI&xpBasedLevelCapDisabled=1 500 74.524 ms - -
2025-02-23T11:24:45:363 [0.1.0] error:  ValidationError: Inventory validation failed: PendingCoupon.Expiry: Cast to date failed for value "{ '$date': { '$numberLong': '0' } }" (type Object) at path "Expiry" while processing /api/updateChallengeProgress.php request
    at Document.invalidate (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:3334:32)
    at Subdocument.invalidate (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\types\subdocument.js:229:12)
    at _init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:802:18)
    at init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:749:5)
    at Document.$__init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:707:3)
    at SingleNested.syncWrapper [as $__init] (D:\GitHub\spaceninjaserver\node_modules\kareem\index.js:331:25)
    at Document.init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:651:8)
    at Document.$init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:667:42)
    at SchemaSubdocument.cast (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\schema\subdocument.js:184:12)
    at _init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:799:35)
2025-02-23T11:24:45:364 [0.1.0] http:   POST /api/updateChallengeProgress.php?accountId=672dd02d2d1923468d8ed929&nonce=1243477007392216&ct=MSI 500 63.610 ms - -
Noticed this issue today. Of course everything up to date. Happens everytime I abort a mission. <img width="1440" alt="{6176E3DD-504F-4D9C-8E13-43F6B9976645}.png" src="attachments/b3b8f34a-f2d9-4e8a-a85c-2fd61363cbee"> ``` 2025-02-23T11:24:35:290 [0.1.0] http: POST /api/updateChallengeProgress.php?accountId=672dd02d2d1923468d8ed929&nonce=1243477007392216&ct=MSI 500 92.185 ms - - 2025-02-23T11:24:42:524 [0.1.0] debug: mission report: { crossPlaySetting: 'ENABLED', rewardsMultiplier: 1, Upgrades: [ { ItemType: '/Lotus/Upgrades/Mods/Randomized/LotusShotgunRandomModRare', ItemId: { '$oid': '67b9cc994ee7511d43924e5b' }, FromSKU: false, UpgradeFingerprint: '{"challenge":{"Type":"/Lotus/Types/Challenges/RandomizedWallClingKillstreak","Progress":0,"Required":17,"Complication":"/Lotus/Types/Challenges/Complications/Invisible"}}', PendingRerollFingerprint: '', ItemCount: 1, LastAdded: { '$oid': '000000000000000000000000' } } ], MissionFailed: false, MissionStatus: 'GS_QUIT', AliveTime: 3, MissionTime: 3, Missions: { Tag: 'SolNode223', Completes: 0, Tier: 0 }, LastRegionPlayed: 'Mercury', GameModeId: 1223, matchMakingMode: 0, hosts: 'solo', ChallengeProgress: [ { Name: 'PlayHoursHidden', Progress: -2005299168, Completed: [] } ], PS: 'TtlbVFVWV1hbUPYLhgy8WHGfdhoFhF9mcDI1WlpOWjkBt3oV6ir9XEJ4II43DJ18fDSnv+aeJy7/ooHkONVifkLFnLFLaaocpq1K1fQE6MjkzYEu7u+I8jW/5jV/XMu/m+V5pu1/LYKLtIRmgBhNAPG3zCLPC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M6GR0+JfWlbhF2unwOUd2mcgr5LKRzv9llnvmKv4bECC8wPXBgKZLMyAd3lnN6HbtFiZUIQO3xafAj8CHsXuFYIenl/83HwNL5ddr+l65EKQN3cI1wEoMMS7DcROXIUkER9VZoq9EA+HZd7qp/iIC6/+UkqmMRl7Bs3Dw53VVzUKlvu+RGDHAEOGxihq0bb+pdyE+CHTJBqt3uyqdd4itGwcmUDvQ3vDscoHteiI7uZCy9sgQIajpa2vIeLguihePuHFB50WKdK9DVDgQUTa+LFDrgp18+mLSTZlSgdkcMLt0E+dt5zWScTKkfElOIq2gM2jj6VqDy0l8Mx2sb67/jHS5LxssV8ivdYBXrkPEVo6Mc000DaEB8i71BopwJHbiSepo9DmFS692QGGgHREKle/NoZRyd/ivYEAcFf2kYGCoWzsFX4+HOIjNtVFeHBnYwgamDrzPzyvGs//760eIFJfvsF5M5mANtgLanU81LcqnRutHrw7/MF0RU5u7TCgE1NMnxFuKX3E0BductJAfYadT73t1msbXOlQvzxyWQc4k5+6WFvgmMFVyBtTkOvQyF9peLJqBSJEQTRef0BqtIcwQiyVu9iVZPAaRA75P84YfChu1Pg/CHUJiyQNVwqD/j/OOMI4LiXkltWaIU9/n/ZP4wlfUGVmHZd/TzjKTj0QTM7bN+AtqmYMsCdDKx3lkavttlwsMSlueBa9BrUFW831FrhDgjM7Z8q6JAi36d64jDAK5CA5G3/lRwCd1GuG8XYgvmoShOYW0TP2SnYt5EMrWu9pFMzQ6aXpZt3osH1wDNcgsX/rWJSm+yo5cLQ5ADZ25ss3DyN0XSgBkj7BUvwKhEWWXrWuLR6IZ7ZI9uOAoDhZN5zy8GBvEtvndFntwDVsUJz1E50RjH6fNcGkHqtpilaVJYx710WiVSLsGBFLMPq6/wFE=', ActiveDojoColorResearch: '', MissionPTS: 1740306219, RepHash: '46eOIsW3Zy0!', EndOfMatchUpload: true } 2025-02-23T11:24:42:596 [0.1.0] error: ValidationError: Inventory validation failed: PendingCoupon.Expiry: Cast to date failed for value "{ '$date': { '$numberLong': '0' } }" (type Object) at path "Expiry" while processing /api/missionInventoryUpdate.php request at Document.invalidate (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:3334:32) at Subdocument.invalidate (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\types\subdocument.js:229:12) at _init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:802:18) at init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:749:5) at Document.$__init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:707:3) at SingleNested.syncWrapper [as $__init] (D:\GitHub\spaceninjaserver\node_modules\kareem\index.js:331:25) at Document.init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:651:8) at Document.$init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:667:42) at SchemaSubdocument.cast (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\schema\subdocument.js:184:12) at _init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:799:35) 2025-02-23T11:24:42:597 [0.1.0] http: POST /api/missionInventoryUpdate.php?accountId=672dd02d2d1923468d8ed929&nonce=1243477007392216&ct=MSI&xpBasedLevelCapDisabled=1 500 74.524 ms - - 2025-02-23T11:24:45:363 [0.1.0] error: ValidationError: Inventory validation failed: PendingCoupon.Expiry: Cast to date failed for value "{ '$date': { '$numberLong': '0' } }" (type Object) at path "Expiry" while processing /api/updateChallengeProgress.php request at Document.invalidate (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:3334:32) at Subdocument.invalidate (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\types\subdocument.js:229:12) at _init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:802:18) at init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:749:5) at Document.$__init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:707:3) at SingleNested.syncWrapper [as $__init] (D:\GitHub\spaceninjaserver\node_modules\kareem\index.js:331:25) at Document.init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:651:8) at Document.$init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:667:42) at SchemaSubdocument.cast (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\schema\subdocument.js:184:12) at _init (D:\GitHub\spaceninjaserver\node_modules\mongoose\lib\document.js:799:35) 2025-02-23T11:24:45:364 [0.1.0] http: POST /api/updateChallengeProgress.php?accountId=672dd02d2d1923468d8ed929&nonce=1243477007392216&ct=MSI 500 63.610 ms - - ```
OrdisPrime self-assigned this 2025-02-23 04:00:44 -08:00
Author
Contributor

Issue was fixed by updating MongoDB & NodeJS. Still not sure how it broke (if any newer commit may have been related to it), since I haven't done anything special to my database.

Issue was fixed by updating MongoDB & NodeJS. Still not sure how it broke (if any newer commit may have been related to it), since I haven't done anything special to my database.
Owner

You have incorrectly imported your inventory into MongoDB. This is not an issue with SpaceNinjaServer.

You have incorrectly imported your inventory into MongoDB. This is not an issue with SpaceNinjaServer.
Author
Contributor

You have incorrectly imported your inventory into MongoDB. This is not an issue with SpaceNinjaServer.

I haven't imported any inventory, at least not that I'd know (I don't play on live, so...).

> You have incorrectly imported your inventory into MongoDB. This is not an issue with SpaceNinjaServer. I haven't imported any inventory, at least not that I'd know (I don't play on live, so...).
Sainan reopened this issue 2025-02-23 04:33:50 -08:00
Sainan added the
bug
label 2025-02-23 04:33:53 -08:00
Owner

My inventory on SpaceNinjaServer does not have this issue.

My inventory on SpaceNinjaServer does not have this issue.
Author
Contributor

My inventory on SpaceNinjaServer does not have this issue.

If I have this issue again, I'll post here again (and I try to look then, what may have caused it exactly). For now, I hope updating MongoDB & NodeJS solved it and hopefully the error won't appear again.

> My inventory on SpaceNinjaServer does not have this issue. If I have this issue again, I'll post here again (and I try to look then, what may have caused it exactly). For now, I hope updating MongoDB & NodeJS solved it and hopefully the error won't appear again.
Owner

My inventory on SpaceNinjaServer does not have this issue.

If I have this issue again, I'll post here again (and I try to look then, what may have caused it exactly). For now, I hope updating MongoDB & NodeJS solved it and hopefully the error won't appear again.

Those certainly did not fix this error.
As shadow says, the problem lies in the PendingCoupon category, that was incorrectly saved in your inv.

> > My inventory on SpaceNinjaServer does not have this issue. > > If I have this issue again, I'll post here again (and I try to look then, what may have caused it exactly). For now, I hope updating MongoDB & NodeJS solved it and hopefully the error won't appear again. Those certainly did not fix this error. As shadow says, the problem lies in the PendingCoupon category, that was incorrectly saved in your inv.
Owner

I'm still not convinced this is a bug of SpaceNinjaServer, tho. If your inventory has such malformed data, you should fix it via MongoDB Compass.

I'm still not convinced this is a bug of SpaceNinjaServer, tho. If your inventory has such malformed data, you should fix it via MongoDB Compass.
Owner

I'm still not convinced this is a bug of SpaceNinjaServer, tho. If your inventory has such malformed data, you should fix it via MongoDB Compass.

I agreed with you, in case that was not clear.
I also don't think its a SNS bug. Unless, it can be reproduced, without messing with the inventory in a way not designed by SNS.
We need a label "needs reproducing".

> I'm still not convinced this is a bug of SpaceNinjaServer, tho. If your inventory has such malformed data, you should fix it via MongoDB Compass. I agreed with you, in case that was not clear. I also don't think its a SNS bug. Unless, it can be reproduced, without messing with the inventory in a way not designed by SNS. We need a label "needs reproducing".
Owner

We already have a label for that, it's this:

We already have a label for that, it's this:
Sign in to join this conversation.
No description provided.