Open sookoll opened 5 years ago
Hi,
It seems to be an issue with bodyparser
's default limit.
Thanks for reporting
How much I can store in my project's database? And where you store the data? is this a secure database?
We do not set a limit, however we won't be able to support large projects. If you're planning on storing few gigs, this is not the kind of datastore you need. Jsonstore is meant to be a quick way to set up a cloud datastore, not a full blown cloud solution like S3 or BigQuery.
Did You fix this or just close ticket without solution? I still get "413 Payload Too Large" error. Go ahead and set some sane limit then, per request for example. Currently I have no clue, where the limit is and how big json I can send.
I reopened it as it was closed by mistake. As to setting a limit, that is not how this service works. If you need to store big amount of data you can buy storage from one of the hundreds of paid services out there.
In the doc of the body-parser you can find that the post-limit is at 100KB!
I tried to POST 20MB json.
Chrome response: Request URL: https://www.jsonstore.io/__key__/__id__ Request Method: POST Status Code: 413 Payload Too Large
Safari response: [Error] Origin https://localhost:3001 is not allowed by Access-Control-Allow-Origin. [Error] XMLHttpRequest cannot load https://www.jsonstore.io/__key__/__id__ due to access control checks. [Error] Failed to load resource: Origin https://localhost:3001 is not allowed by Access-Control-Allow-Origin.