cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hello experts,

We have created an mdk project and connected it to our backend with thousands of data. When we deployed the app in Mobile Services Client, we are encountering a sync error after a couple of minutes (gateway timeout error) because of the bulk data:

Would you know how to load big data like this? Appreciate any inputs you may have.

Thank you!

0 Likes
View Entire Topic
bing_fang
Product and Topic Expert
Product and Topic Expert
0 Likes

According to the error message, it looks like the 504 code is from the backend server. You can use pagination mechanism to return the big data to avoid wait for long time without data.

Thanks.

sopizaken
Participant
0 Likes

Hi bing.fang,

I have tried to use $top and $skip in the queryoptions on InitializeOffline.action, but it is not working. It always returns a single record, regardless of the value assigned to $top, e.g. $top=5 returns 1, $top=100 still returns 1 record. But in gateway client, i can get the correct number of records when i try to use the $top. Would you know how to fix this issue?