Storefront API Timeouts

JCDY
New Member
5 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?

Reply 1 (1)

JCDY
New Member
5 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.