Hi Apollo! I am having issues at the beginning of the Voyage II course, at the “Testing a query with Sandbox” part.
My node version is v18.9.0, npm version 8.19.1. I made sure that monolith server and services are running. But when I open the localhost:4000 I am getting the error: “Schema Introspection Failure”.
And when I do the query that doesn’t exist, error message is like: “*** you must be logged in ***”
{
"data": {},
"errors": [
{
"message": "*** you must be logged in ***",
"extensions": {
"code": "UNAUTHENTICATED",
"stacktrace": [
"GraphQLError: *** you must be logged in ***",
" at AuthenticationError (/Users/bingq/code/experimental/odyssey-apollo-tutoral/odyssey-voyage-II-server/monolith/utils/errors.js:5:10)",
" at /Users/bingq/code/experimental/odyssey-apollo-tutoral/odyssey-voyage-II-server/monolith/index.js:36:19",
" at process.processTicksAndRejections (node:internal/process/task_queues:95:5)",
" at async context (/Users/bingq/code/experimental/odyssey-apollo-tutoral/odyssey-voyage-II-server/monolith/index.js:35:28)",
" at async ApolloServer.executeHTTPGraphQLRequest (/Users/bingq/code/experimental/odyssey-apollo-tutoral/odyssey-voyage-II-server/monolith/node_modules/@apollo/server/dist/cjs/ApolloServer.js:499:32)"
]
}
}
]
}
I have no clue what’s wrong. Thank you!