Menu
Feedback
Start here

Known issues

Known issues
Master Data’s scroll endpoint sometimes returns a 408 error
Master Data
ID:
Backlog
Published on6/12/2019
Last updated on12/22/2022
1 min read

Summary

In some cases, when requesting large amounts of data through our scroll endpoint, Master Data will timeout. Executing the first call once more will result in success.

Simulation

http://api.vtex.com/\{\{accountName\}\}/dataentities/\{\{acronym\}\}/scroll?isCluster=true&_size=250&_fields=email,firstName

Receive a timeout

Workaround

Timeouts can be mitigated by reducing the first request’s size. This can be done by adjusting the value, in this case from 1000 to 20:

Before

http://api.vtex.com/\{\{accountName\}\}/dataentities/\{\{acronym\}\}/scroll?isCluster=true&_size=1000&_fields=email,firstName

After

http://api.vtex.com/\{\{accountName\}\}/dataentities/\{\{acronym\}\}/scroll?isCluster=true&_size=250&_fields=email,firstName

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback