· 6 years ago · Jan 24, 2020, 03:02 AM
1GET /video-cut-tool-back-end 200 3.311 ms - 522
2Upload sent
3Hit Send
4Your Video Mode is : single
5Your video upload to commons is : true
6You Video Audio Disablity is : false
7Video Rotation : false
8Video Crop : false
9Video trim into multiple videos : false
10Video trim in to single video : true
11Rotate Video : -1
12downloading video tmp/tmp-2-1579834200894
13user token { key: '069efa3fa9535214369aafabaed09f7e',
14 secret: 'bd38c21453b75186eb330128e314c9ff3750bb46' }
15parsed content { error:
16 { code: 'mwoauth-invalid-authorization',
17 info: 'The authorization headers in your request are not valid: No approved grant was found for that authorization token.',
18 '*': 'See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes.' },
19 servedby: 'mw1342' }
20/mnt/nfs/labstore-secondary-tools-project/video-cut-tool-back-end/www/js/models/wikiUploadUtils.js:49
21 const csrfToken = parsedBody.query.tokens.csrftoken
22 ^
23
24TypeError: Cannot read property 'tokens' of undefined
25 at Request.request [as _callback] (/mnt/nfs/labstore-secondary-tools-project/video-cut-tool-back-end/www/js/models/wikiUploadUtils.js:49:42)
26 at Request.self.callback (/mnt/nfs/labstore-secondary-tools-project/video-cut-tool-back-end/www/js/node_modules/request/request.js:185:22)
27 at emitTwo (events.js:126:13)
28 at Request.emit (events.js:214:7)
29 at Request.<anonymous> (/mnt/nfs/labstore-secondary-tools-project/video-cut-tool-back-end/www/js/node_modules/request/request.js:1161:10)
30 at emitOne (events.js:116:13)
31 at Request.emit (events.js:211:7)
32 at IncomingMessage.<anonymous> (/mnt/nfs/labstore-secondary-tools-project/video-cut-tool-back-end/www/js/node_modules/request/request.js:1083:12)
33 at Object.onceWrapper (events.js:313:30)
34 at emitNone (events.js:111:20)
35npm ERR! code ELIFECYCLE
36npm ERR! errno 1
37npm ERR! video-cut-tool-back-end@0.0.1 start: `node ./bin/www`
38npm ERR! Exit status 1
39npm ERR!
40npm ERR! Failed at the video-cut-tool-back-end@0.0.1 start script.
41npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
42
43npm ERR! A complete log of this run can be found in:
44npm ERR! /data/project/video-cut-tool-back-end/.npm/_logs/2020-01-24T02_50_01_051Z-debug.log