I am a Ghost(Pro) user and am using gatsby-source-ghost to build a blog in headless mode.
However, it seems like we have hit some sort of cap – every new post published is breaking our building pipeline with errors such as:
error "gatsby-source-ghost" threw an error while running the sourceNodes lifecycle: Request failed with status code 503 Error: Request failed with status code 503
RangeError: Invalid string length - stringify
Looking at the Gatsby’s plugin implementation, it seems that we fetch all posts without any type of pagination, which can increase substantially the request and timeout (the cause of the 503?) or run out of memory (the issue with stringify?).
I’m unable to publish more posts because of that. What is the most viable solution for this problem?
Thanks in advance!