Storefront API Timeouts

Highlighted
New Member
3 0 0

I'm getting timeouts using the Storefront API (GraphQL). There's a lot of data coming in and I'm using pagination to fetch all the data. But it seems like after a certain amount of time I get this error:

[ { message: 'Timeout' } ]

Is it due to rate-limiting? What is the recommended practice to fetch a lot of products from the StorefrontAPI?

0 Likes
New Member
3 0 0

Solved it, I was requesting the first 250 images and doing a transformedSrc on each of them. I suppose it's too expensive.

0 Likes