Hi,
I am facing a problem trying to edit a long document using the web dashboard.
The error is pretty generic, but I believe that I reached a certain size limit of the document. This is understandable, as my documents are whole books. One of the books is “The Brothers Karamazov” with 840 pages, for example.
I can start adding the book’s text, chapter by chapter, without an issue. But then, at some point, it throws an error and doesn’t save the changes.
The thing is, I need to add the whole book in that document, and I really wanted to do it using Fauna’s web dashboard so I don’t have to build an application on my own just to do that.
The main doubt:
Can someone at Fauna confirm that there is a size limit do editing a document using the web dashboard? If so, is there a workaround? Can I get an exception?
For context, the database is used for my site https://www.serialliterature.com. It delivers classic novels in weekly installments to your email. Each day I run through the subscribers, check which book they are reading and in which installment they are. Then I get the “books” collection, grab the document of that book, find the current installment, and send the email. To be more precise, I have one document per author, but currently I only have one book per author, so all the same.
An example of a document:
"data": {
"authorId": "charlesDickens",
"authorName": "Charles Dickens",
"books": {
"greatExpectations": {
"bookId": "greatExpectations",
"bookName": "Great Expectations",
"installments": [
{
"number": 1,
"title": "Installment #1",
"text": "Chapter I.\r\nMy father’s family name being Pirrip, and my Christian name Philip... <looong string with the whole chapter in here>.",
"note": "",
},
...
<one object for each installment in here, which can be 50 or more>
]
}
}
Thanks for any help!