jeffwest2 Posted June 20, 2017 Posted June 20, 2017 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?
jeffwest2 Posted June 21, 2017 Author Posted June 21, 2017 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.
bcooney Posted June 21, 2017 Posted June 21, 2017 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_"
jeffwest2 Posted June 21, 2017 Author Posted June 21, 2017 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.
bcooney Posted June 21, 2017 Posted June 21, 2017 Well, there's obviously a setup problem somewhere. Can you post clones of your mobile/host files?
jeffwest2 Posted June 21, 2017 Author Posted June 21, 2017 I can try but not sure I can upload files to here
Josh Ormond Posted June 21, 2017 Posted June 21, 2017 You should be able to post the files if you compress/zip them.
folks Posted June 21, 2017 Posted June 21, 2017 "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.
bcooney Posted June 21, 2017 Posted June 21, 2017 Good catch. I do believe that LIKE is case-sensitive. In general...for success - do NOT deviate AT ALL. Everything matters.
jeffwest2 Posted June 22, 2017 Author Posted June 22, 2017 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.
Matt Malyschko Posted May 3, 2018 Posted May 3, 2018 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?
Recommended Posts
This topic is 2665 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now