Question

11
Replies
305
Views
Sreethi G (SreethiG)
Accenture

Accenture
AU
SreethiG Member since 2017 16 posts
Accenture
Posted: September 20, 2017
Last activity: October 16, 2018
Posted: 20 Sep 2017 1:13 EDT
Last activity: 16 Oct 2018 12:03 EDT
Closed
Solved

"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

Show More

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.

Show Less
System Administration Installation and Deployment User Experience Support Case Created
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.