Closed flynryan closed 8 years ago
can you share the error you are receiving?
I'm not getting an error, if you use the sample code the print will be none or []. It's when I try to use the replica that the code breaks. That error is "out of range"
The sample works for me, here is a service you can test. http://services2.arcgis.com/PWJUSsdoJDp7SgLj/arcgis/rest/services/JointUseSurvey/FeatureServer
Can you verify your service has sync enabled? What permissions do you have in your org?
Using your service I get an HTTP error 500, All of my services are sync enabled and I'm an Admin in my org. I've had these scripts working for over a year, nothing has changed on my side.
Could you provide us an account and the url to your service to trouble shoot the issue as I cannot repo it on our services?
Account: user: ESRI_Temp pass: ESRITEMP1
http://services1.arcgis.com/bF44QtfoYZDGo7TK/arcgis/rest/services/TrafficRequests/FeatureServer
Try these
It worked as expected, here is the resulting replica.
I am using the version of ArcRest in Master
I think I'm using a version 3. I know its not the current. I probably have 10 scripts using arcrest if I upgrade the version will it break all of them or does most of the code carry over?
I guess it depends on the scripts. Some will just work, some things did change.
Thank Mike I'll upgrade on a test machine and check them one at a time. Hopefully that fixes it.
I use the createReplica function in 3 scripts and they have all broke on 2/29/16.