Response size too big. Maximum allowed response size: 7340032b
See original GitHub issueExpected Behavior
Calling client.getEntries should get all of my data.
Actual Behavior
I’m getting this error message Response size too big. Maximum allowed response size: 7340032b.
Possible Solution
Here’s my config when calling the getEntries
function
await client.getEntries({content_type: 'xxxx', include: 3});
I know that the include:3
causes it to make the response size too big but we have some functions where we need our data all at once. I could have set a first
or skip
here but it is not an option right now
It would be nice if there’s a way to override the maximum allowed response size
Steps to Reproduce
Just have a large set of data without any filtering or pagination.
Context
When we were starting with Contentful 6 months ago, we only had a few data so this was not an issue. We’re using Hugo to generate our web pages and we generate the md and json files using Contentful.
Environment
- Language Version: v11.4.0
- Package Manager Version: 6.9.0
- Operating System: Ubuntu 18
- Package Version: ^7.9.1
- Which API are you using?: Delivery
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:8 (1 by maintainers)
thanks @Khaledgarbaya . My workaround is something like this
for anyone looking into this in the future, it might be due to contentful technical limits.![image](https://user-images.githubusercontent.com/28541026/157791576-bf9f2477-293a-48f8-90cd-195d9964338a.png)
https://www.contentful.com/developers/docs/technical-limits/