Problems Adding a New YouTube Account

If you are having problems when trying to associate a new YouTube account/channel to your Sezion account, you'll probably will see this message:

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:
  1. Click here: https://security.google.com/settings/security/permissions?pli=1 (you would need to be logged in with the needed Google+ account). 
  2. Select "Sezion" and click the button to the right, the one that says "Revoke access". 
  3. You can now re-associate your YouTube channel with Sezion. 

Feedback and Knowledge Base