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
TypeError: Cannot destructure property 'points' of 'entities.user[username]' as it is undefined.
File "/app/services/freecodecamp/freecodecamp-points.service.js", line 58, in Function.transform
const { points } = entities.user[username]
File "/app/services/freecodecamp/freecodecamp-points.service.js", line 67, in FreeCodeCampPoints.handle
const points = this.constructor.transform(response, username)
?, in runMicrotasks
File "/app/core/base-service/base.js", line 403, in async Function.invoke
serviceData = await serviceInstance.handle(
File "/app/core/base-service/base.js", line 445, in async Object.handler
const serviceData = await this.invoke(
...
(1 additional frame(s) were not displayed)
The text was updated successfully, but these errors were encountered:
@SethFalco - you'd recently worked on the this service, so curious if you have any ideas? I'm not sure how this would be happening from a cursory glance at the code and the API response under various conditions. Wondering if it could be something encoded related with the username (e.g. a username containing a space or some other escaped character)
Just gave this a peek, but without knowing the input I'm a bit confused how this occurred, to be honest.
Spaces aren't allowed in a freeCodeCamp username either, so that shouldn't be it I don't think. (at least not directly)
Basically, it can only have characters a-z, A-Z, 0-9, -, _, and +.
Must be at least 2 characters.
Can't be an HTTP status code?
Can't have uppercase characters.
Based on this the issue is most likely the + symbol that can be used in usernames. I've just reproduced the internal server error as well. I'll tackle this soon!
Sentry Issue: SHIELDS-6M
The text was updated successfully, but these errors were encountered: