StateOfJS-Vulcan icon indicating copy to clipboard operation
StateOfJS-Vulcan copied to clipboard

Error on reaching the end of the survey/thanks page

Open markrian opened this issue 3 years ago • 6 comments

I just completed the 2021/2022 survey, and reached the thanks page, and got this error in the view:

state of js

Here's the stack trace logged in the console (though it doesn't look particularly useful :shrug:):

TypeError: can't access property "find", a is undefined
    f https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:465
    g https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:465
    Na https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    PB https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    ru https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    tu https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    eu https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    KB https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    go https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    unstable_runWithPriority https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:169
    yo https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    go https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    bo https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    zB https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    ns https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    onNewData https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:136
    bindEnvironment https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:1
f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js:221:157102

I doubt it's relevant, but just in case, this was on Firefox Developer Edition 97.0b6 on Ubuntu 20.04 LTS.

markrian avatar Jan 24 '22 13:01 markrian

Same here, see screenshot: Screen Shot 2022-01-24 at 3 07 23 PM

dr-dimitru avatar Jan 24 '22 13:01 dr-dimitru

Same here, on Firefox 96.0, ubuntu 21.04 image

khofaai avatar Jan 24 '22 13:01 khofaai

Seams to be correlated with https://github.com/StateOfJS/StateOfJS-Vulcan/blob/master/packages/stateofjs/lib/components/common/Score.jsx#L20

Capture d’écran 2022-01-24 à 14 24 30

edimitchel avatar Jan 24 '22 13:01 edimitchel

image

console:

Some cookies are misusing the “SameSite“ attribute, so it won’t work as expected 5
[GraphQL error]: Message: invalid json response body at http://api.stateofjs.com/graphql reason: Unexpected token < in JSON at position 0, Location: line 2, col 3, Path: entities f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js:221:157102
Object { stack: "r@https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:1:4173\n_livedata_result@https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:330:17717\nonMessage@https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:330:20028\ne/_launchConnection/this.socket.onmessage/<@https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:324:2633\nforEachCallback@https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:324:3704\ne/_launchConnection/this.socket.onmessage@https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:324:2601\ne/r.prototype.dispatchEvent@https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:324:6211\ne/k.prototype._dispatchMessage@https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:324:19854\ne/k.prototype._didMessage@https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:324:20755\ne/k.websocket/o.ws.onmessage@https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:324:22862\n", isClientSafe: true, error: 403, reason: "Email already exists.", details: undefined, message: "Email already exists. [403]", errorType: "Meteor.Error" }
f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js:221:157102
[GraphQL error]: Message: invalid json response body at http://api.stateofjs.com/graphql reason: Unexpected token < in JSON at position 0, Location: line 2, col 3, Path: entities f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js:221:157102
Uncaught (in promise) Error: invalid json response body at http://api.stateofjs.com/graphql reason: Unexpected token < in JSON at position 0
    t https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:136
    L https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:121
    n https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:121
    then https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:121
    then https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:121
    c https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:121
    M https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:136
    A https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:136
    e https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:136
    r https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:121
    r https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:121
    next https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:121
    M https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:136
    A https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:136
    e https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:136
    next https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:136
    M https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:136
    A https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:136
    e https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:136
    v https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:136
    bindEnvironment https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:1
f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js:136:64209
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://o324825.ingest.sentry.io/api/1828516/store/?sentry_key=de63e169faba4cf99f03f255ca4a9266&sentry_version=7. (Reason: CORS request did not succeed). Status code: (null).

[GraphQL error]: Message: invalid json response body at http://api.stateofjs.com/graphql reason: Unexpected token < in JSON at position 0, Location: line 2, col 3, Path: entities f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js:221:157102
[GraphQL error]: Message: invalid json response body at http://api.stateofjs.com/graphql reason: Unexpected token < in JSON at position 0, Location: line 2, col 3, Path: entities f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js:221:157102
[GraphQL error]: Message: invalid json response body at http://api.stateofjs.com/graphql reason: Unexpected token < in JSON at position 0, Location: line 2, col 3, Path: entities 2 f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js:221:157102
TypeError: can't access property "find", a is undefined
    f https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:465
    g https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:465
    Na https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    PB https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    ru https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    tu https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    eu https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    KB https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    go https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    unstable_runWithPriority https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:169
    yo https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    go https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    bo https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    zB https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    ns https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:151
    onNewData https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:136
    bindEnvironment https://app.stateofjs.com/f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js?meteor_js_resource=true:1
f98c5fdc61a4028f265bcc43b87975c1a5be8f76.js:221:157102
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://o324825.ingest.sentry.io/api/1828516/store/?sentry_key=de63e169faba4cf99f03f255ca4a9266&sentry_version=7. (Reason: CORS request did not succeed). Status code: (null).

shiftgeist avatar Jan 24 '22 14:01 shiftgeist

Seems to be resolved now.

krnlde avatar Jan 24 '22 21:01 krnlde

Really sorry about that, it seems like when the server goes down it triggers all kinds of unrelated issues. Your data should still be saved though.

SachaG avatar Jan 25 '22 00:01 SachaG