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!
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.