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
I think this type of error should not be classified as an internal server error:
It should have code: "UNAUTHENTICATED", which you get by throw new AuthenticationError(). There's also ForbiddenError, UserInputError and custom error types:
I think this type of error should not be classified as an internal server error:
It should have
code: "UNAUTHENTICATED"
, which you get bythrow new AuthenticationError()
. There's alsoForbiddenError
,UserInputError
and custom error types:https://www.apollographql.com/docs/apollo-server/features/errors.html
The text was updated successfully, but these errors were encountered: