Node.js error: too many parameters Error while uploading bulk data

后端 未结 3 1112
独厮守ぢ
独厮守ぢ 2020-12-31 08:43

I have a task to upload user data in bulk through csv file. I am using nodejs and express framework. When i submit csv file having 60 to 70 rows it

3条回答
  •  梦谈多话
    2020-12-31 09:36

    In your code it you are not using the parameterLimitat all, as pointed out as in the blog posted you linked.

    var bodyParser = require('body-parser');
    app.use(bodyParser.urlencoded({ 
        extended: false,
        parameterLimit: 1000000 // experiment with this parameter and tweak
    }));
    

提交回复
热议问题