You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to get player data from someone who's new, it returns server error 500.
Here's what gets logged:
TypeError: Cannot convert undefined or null to object
at Function.entries (<anonymous>)
at /home/node/app/src/http/ubi-r6-stats.ts:529:74
at Generator.next (<anonymous>)
at fulfilled (/home/node/app/src/http/ubi-r6-stats.ts:5:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: No operator data.
at /home/node/app/src/http/ubi-r6-stats.ts:168:19
at Array.forEach (<anonymous>)
at /home/node/app/src/http/ubi-r6-stats.ts:158:19
at Generator.next (<anonymous>)
at fulfilled (/home/node/app/src/http/ubi-r6-stats.ts:5:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
The text was updated successfully, but these errors were encountered:
Thanks. This is a known issue of Ubisoft's and I don't think they're planning to do anything about it. Basically, sometimes the lifetime or operators data will be blank for certain players, often "new" ones.
If you're interested in contributing, go ahead and make a fork of the repo and add a handler for that error in both the lifetime and operators request functions--in a manner that just displays null as the value for operators and lifetime in the final response object.
When attempting to get player data from someone who's new, it returns server error 500.
Here's what gets logged:
The text was updated successfully, but these errors were encountered: