"Error: invalid csrf token" in cobrowse console output
Can someone tell me why I get the below error message all the time in CoBrowse console output? I don't really find any issue in CoBrowse behaviour
Can someone tell me why I get the below error message all the time in CoBrowse console output? I don't really find any issue in CoBrowse behaviour
Wed, 20 Sep 2017 03:33:53 GMT express deprecated res.send(body, status): Use res.status(status).send(body) instead at config/custom-middleware.js:65:13
Error: invalid csrf token
at verifytoken (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/csurf/index.js:234:13)
at csrf (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/csurf/index.js:94:7)
at exports.customCsrf (/home/ec2-user/Installables/PegaCoBrowse/server/config/custom-middleware.js:154:3)
at Layer.handle [as handle_request] (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express/lib/router/layer.js:76:5)
at trim_prefix (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express/lib/router/index.js:270:13)
at /home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express/lib/router/index.js:237:9
at Function.proto.process_params (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express/lib/router/index.js:312:12)
at /home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express/lib/router/index.js:228:12
at Function.match_layer (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express/lib/router/index.js:295:3)
at next (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express/lib/router/index.js:189:10)
at methodOverride (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/method-override/index.js:77:5)
at Layer.handle [as handle_request] (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express/lib/router/layer.js:76:5)
at trim_prefix (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express/lib/router/index.js:270:13)
at /home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express/lib/router/index.js:237:9
at Function.proto.process_params (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express/lib/router/index.js:312:12)
at /home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express/lib/router/index.js:228:12
at Function.match_layer (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express/lib/router/index.js:295:3)
at next (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express/lib/router/index.js:189:10)
at MongoStore.<anonymous> (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/express-session/index.js:377:7)
at MongoStore.tryCatcher (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/connect-mongo/node_modules/bluebird/js/release/util.js:11:23)
at Promise.successAdapter [as _fulfillmentHandler0] (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/connect-mongo/node_modules/bluebird/js/release/nodeify.js:23:30)
at Promise._settlePromise (/home/ec2-user/Installables/PegaCoBrowse/server/node_modules/connect-mongo/node_modules/bluebird/js/release/promise.js:545:21)
***Updated by moderator: Lochan to update Categories***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.