pogseal
01/19/2022, 8:33 AMServer Error
TypeError: Cannot read property 'wrapperUsed' of undefined
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Source
pages/_app.tsx (88:20) @ Function.MyApp.getInitialProps
86 | try {
87 | // getSession will do session verification for us
> 88 | session = await Session.getSession(context.req, context.res);
| ^
89 | } catch (err) {
90 | if (err.type === Session.Error.TRY_REFRESH_TOKEN) {
91 | // in this case, the session is still valid, only the access token has expired.