Payload too large 413
Trying to post to my API hosted on railway about 20,000 records into my API at once, its saying it cant due of the payload being too large, what's the limit and how can i change it?
Solution:Jump to solution
Fixed it by using
```js
const bodyParser = require('body-parser');
app.use(bodyParser.json({ limit: '50mb' }));...
5 Replies
Project ID:
4c2cf819-c7e8-4ee0-89d8-13086fc777fb
4c2cf819-c7e8-4ee0-89d8-13086fc777fb
tried reducing from 22,000 records to just 1000 but it still says payload too large
Solution
Fixed it by using
🙂
glad you figured it out, was about to say that the html page returned would not be returned by railway