Hi!
I have a hosted feature layer with 2953 features. I want to do some calculations with field calculator, so I loaded the layer into ArcGIS Pro. However, whenever I want to save my edits, I get the following error:
Save edits failed. ERROR: code:504, Your request has timed outed., Proxy server got bad address from remote server (verify the server is running).
I found out that, if I edit a maximum of 300 features per time, this error does not occur.
Any idea how I can fix this issue?
Solved! Go to Solution.
The 504 error was a gateway timeout error and would mean that the service was not able to complete the entire task within the timeframe set on the hosting server.
Could you consider upgrading the network speeds and also checked the datastore utilized by your organization? Could you run an upgrade to Premium Datastore if you are still on Standard Datastore which would allocate more resources for your organization's functioning.
Also check the below documents:
The 504 error was a gateway timeout error and would mean that the service was not able to complete the entire task within the timeframe set on the hosting server.
Could you consider upgrading the network speeds and also checked the datastore utilized by your organization? Could you run an upgrade to Premium Datastore if you are still on Standard Datastore which would allocate more resources for your organization's functioning.
Also check the below documents:
@RudraniChakraborty @Nindoooo The original poster mentioned that he was dealing with hosted feature layers (AGOL), not ArcGIS Server services...?
I don't see how this is the solution when the issue is with HFL's and AGO.
Well it worked for me!
And yes it is an AGO issue for me with ArcPro, Server has a timeout setting I believe fixes it, just something I found in my hours of searching for a solution.
Since everyone seems to not have the issue anymore with 3.0.3 I guess we can put this to rest.
At least you know you can pull off 300 edits at once. I can never count on anything when calculating to hosted feature services. Sometimes it gets through 50 features, sometimes all 11,000 of them.
So, since there is no real reliable way to accomplish this, I have converted to python script for this, makes a list of all the features that need calculation, then starts processing the features in the list. If sucsessful, it adds to a "completed" list.
Then, if/when the scirpt 504's on me, my try/except: block re-runs the calculations if feature not in completed list.
This way, it will always finish the task. Might take 20 minutes, might take 2 hours, but will eventually get there.
R_
I am having the same issue. I have 15k records I need updating that I just spent time configuring within a DB. Now that I am trying to calculate and push those updates, I can't .
Laura you have to uninstall 3.1 and use 3.0 pro. That's the only way to fix it. 3.1 has a bug. Let me know how it goes.
Tom
@TomKukitz, do you know if this is still problematic with ArcGIS Pro? One of our services was republished using 3.1, and now the feature service with enterprise cannot save edits. It is incredibly frustrating because Esri does not have anything that references this in their documentation
I am happy to say that upgrading to the latest patch of 3.1.3 has resolved this issue for me!