cli: Remove "Body exceeded 1mb limit" error
Hi there,
I’m trying to seed my local database with 1000 users and 1000 posts.
However I’m greeted with the following error:
"Body exceeded 1mb limit"
So postgres is complaining that the seed.sql file is too big.
I’ve tested inserting a smaller number of rows and it works fine.
Any ideas how I could get around this?
Thanks!
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 2
- Comments: 20 (10 by maintainers)
Thanks for this @vbylen - transferring to the CLI repo so that the team can check it out!
Hi, yes the with the command and your las advice my error
Error: bufio.Scanner: token too long.disappeared. It was related with Bufio error. Thanks 👍Thanks for the info @kiwicopple.
I ended up inserting the data in 5000row chunks…wasn’t too much trouble. Good to know for next time though! 👍
Hi @sweatybridge,
Just had a play around with this and unfortunately it still fails with the same error. Not a big deal locally but for the hosted dashboaed I think I’ll end up splitting the data into multiple chunks.I assume the csv upload option is also limited to 1mb?Looks like I was a minor version behind. This has been addressed in 1.8.4 and works perfectly. Ta!