Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Had to step away from this for a while, but now back with it.

I have nailed up the two tables I want to sync, however, when try and sync, I get an error that reads

Attempt to push data has failed (The message received from the server was : "201")

I have two questions really.

I don't need to push data, as no data will be allowed to be changed on the 'mobile' side, can I disable this, if this is what the issue is.

What is a 201 error, and how can I identify which field is causing the issue?

  • Author

Ok, so no matter what I do I just can't solve this, can someone point me to what I need to disable in order to not try and pull the data as in reality I just don't need to do this.

I tried to comment out just the 'Perform Script ["Push Payload"], but then it just seemed to get stuck on 'EasySync Is Go For Launch' and do nothing, so clearly I need to do more.

Perhaps this easysync_documentation will help.

You can name Table Occurrences to control their behavior during Sync. So, if you only want to Pull, then name them with the prefix, "ES_PULL_"

 

 

  • Author

Thanks for that, however I have only two tables linked, both are named ES_Pull_TableName, yet for some reason I still get this error.  I pretty much un linked everything then re-did it, but it still happens and I just don't know why.

Well, there's obviously a setup problem somewhere. Can you post clones of your mobile/host files?

  • Author

I can try but not sure I can upload files to here

You should be able to post the files if you compress/zip them.

 

"EasySync supports both "push-only" and "pull-only" tables. To indicate that a table is to be pushed from the mobile device, but not pulled, use an "ES_PUSH_" prefix for the table occurrence's name. To indicate that a table is to be pulled from the host, but not pushed from the mobile device, use an "ES_PULL_" prefix for the table occurrence's name."

Try using all caps in your naming of these tables.

Good catch. I do believe that LIKE is case-sensitive.

 

In general...for success - do NOT deviate AT ALL. Everything matters.

  • Author

Seems that re-naming the tables ES_PULL_TABLENAME worked, it certainly moved on so it was requesting the payload, which is great, have to wait till Out of hours to test this fully now.

Thank you all for the guidance and help.

  • 10 months later...

I'm getting a 201 error as well, but I know what is causing it.

What I am trying to do is have an unstored calculation field on the server and pull that field down into a regular number field. For example, I want to get the invoice total, without pulling down all line items into the client file.

I changed my TO to be ES_PULL_<table name> but I'm still getting error 201 that it cannot push the data.

Am I missing something?

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.