Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User ID null after adding email #17

Closed
Sentynel opened this issue Aug 9, 2021 · 1 comment
Closed

User ID null after adding email #17

Sentynel opened this issue Aug 9, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Sentynel
Copy link
Owner

Sentynel commented Aug 9, 2021

User report:

Just signed in for the first time with Google, added my email address and then for the following error

Aug 09 00:01:24 server08.angrymetalguy.com node[3113493]: {"name":"coral","hostname":"server08.angrymetalguy.com","pid":3113493,"context":"graph","contextID":"ef6f5cf0-f8a4-11eb-9ab4-b1e6997fbc9c","tenantID":"2dcaf8c0-2167-4de
a-a85e-adf5b70c892b","level":30,"responseTime":31,"authenticated":true,"userID":"117217442628201367191","persistedQueryID":"488b568f6362f3f1e1a23b6698a5fc61","persistedQueryBundle":"stream","persistedQueryVersion":"6.13.1","op
eration":"query","operationName":"AllCommentsTabQuery","msg":"graphql query","time":"2021-08-09T00:01:24.067Z","src":{"file":"/opt/coral/talk-6.13.1/src/core/server/graph/plugins/logger.ts","line":95,"func":"logQuery"},"v":0}
Aug 09 00:01:24 server08.angrymetalguy.com node[3113493]: {"name":"coral","hostname":"server08.angrymetalguy.com","pid":3113493,"context":"graph","contextID":"ef6f5cf0-f8a4-11eb-9ab4-b1e6997fbc9c","tenantID":"2dcaf8c0-2167-4de
a-a85e-adf5b70c892b","level":50,"err":{"message":"INTERNAL_ERROR: Cannot return null for non-nullable field User.id.","name":"WrappedInternalError","stack":"Object.getWrappedOriginalError (src/core/server/graph/plugins/helpers
.ts:155:10)\nlogAndReportError (src/core/server/graph/plugins/logger.ts:21:15)\nforEach (src/core/server/graph/plugins/logger.ts:118:44)\nArray.forEach (<anonymous>)\nObject.willSendResponse (src/core/server/graph/plugins/logg
er.ts:118:27)\nnode_modules/apollo-server-core/src/utils/dispatcher.ts:20:23\nArray.map (<anonymous>)\nDispatcher.callTargets (node_modules/apollo-server-core/src/utils/dispatcher.ts:17:20)\nDispatcher.<anonymous> (node_module
s/apollo-server-core/src/utils/dispatcher.ts:30:12)\nGenerator.next (<anonymous>)\nnode_modules/apollo-server-core/dist/utils/dispatcher.js:8:71\nnew Promise (<anonymous>)\n__awaiter (node_modules/apollo-server-core/dist/utils
/dispatcher.js:4:12)\nDispatcher.invokeHookAsync (node_modules/apollo-server-core/dist/utils/dispatcher.js:26:16)\nnode_modules/apollo-server-core/src/requestPipeline.ts:566:22\nGenerator.next (<anonymous>)\n","id":"ef752950-f
8a4-11eb-9ab4-b1e6997fbc9c","context":{"pub":{},"pvt":{"reason":"wrapped internal error"}},"originalError":{"message":"Cannot return null for non-nullable field User.id.","name":"Error","stack":"completeValue (node_modules/gra
phql/execution/execute.js:560:13)\ncompleteValueCatchingError (node_modules/graphql/execution/execute.js:495:19)\nresolveField (node_modules/graphql/execution/execute.js:435:10)\nexecuteFields (node_modules/graphql/execution/e
xecute.js:275:18)\ncollectAndExecuteSubfields (node_modules/graphql/execution/execute.js:713:10)\ncompleteObjectValue (node_modules/graphql/execution/execute.js:703:10)\ncompleteValue (node_modules/graphql/execution/execute.js
:591:12)\ncompleteValue (node_modules/graphql/execution/execute.js:557:21)\ncompleteValueCatchingError (node_modules/graphql/execution/execute.js:495:19)\nnode_modules/graphql/execution/execute.js:618:25\nArray.forEach (<anony
mous>)\nforEach (node_modules/iterall/index.js:83:25)\ncompleteListValue (node_modules/graphql/execution/execute.js:614:24)\ncompleteValue (node_modules/graphql/execution/execute.js:573:12)\ncompleteValue (node_modules/graphql
/execution/execute.js:557:21)\nnode_modules/graphql/execution/execute.js:492:16\n"}},"report":null,"msg":"graphql query error","time":"2021-08-09T00:01:24.070Z","src":{"file":"/opt/coral/talk-6.13.1/src/core/server/graph/plugi
ns/logger.ts","line":25,"func":"logAndReportError"},"v":0}
@Sentynel Sentynel added the bug Something isn't working label Aug 9, 2021
@Sentynel
Copy link
Owner Author

This was an importer error and not related to Google logins: the format for the ignore list was wrong. Fixed in cc19b1c.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant