Error: Failed to lookup view "sznAuthGoogleCallback" in views directory "/opt/szn_api2_server/web/
views" at Function.app.render (/opt/szn_api2_server/node_ modules/express/lib/ application.js:493:17) at ServerResponse.res.render (/opt/szn_api2_server/node_ modules/express/lib/response. js:798:7) at exports.get (/opt/szn_api2_server/web/ routes/sznAuthGoogleCallback. js:19:11) at callbacks (/opt/szn_api2_server/node_ modules/express/lib/router/ index.js:164:37) at complete (/opt/szn_api2_server/node_ modules/passport/lib/ middleware/authenticate.js: 243:13) at /opt/szn_api2_server/node_ modules/passport/lib/ middleware/authenticate.js: 250:15 at pass (/opt/szn_api2_server/node_ modules/passport/lib/ authenticator.js:427:14) at Authenticator. transformAuthInfo (/opt/szn_api2_server/node_ modules/passport/lib/ authenticator.js:449:5) at /opt/szn_api2_server/node_ modules/passport/lib/ middleware/authenticate.js: 247:22 at /opt/szn_api2_server/node_ modules/passport-google-oauth/ node_modules/passport-oauth/ node_modules/passport/lib/ passport/http/request.js:46:7
This usually happens when that account was already been associated with your Sezion account. This is what you need to do in order to effectively associate your YouTube account/channel to your Sezion account:
- Click here: https://security.google.com/settings/security/permissions?pli=1 (you would need to be logged in with the needed Google+ account).
- Select "Sezion" and click the button to the right, the one that says "Revoke access".
- You can now re-associate your YouTube channel with Sezion.