I am trying to publish a polygon layer from ArcGIS Pro to AGOL. However whatever I do, it brakes on 'Uploading service definition...', returns the message: 'Failed to publish web layer' and gives me the option to 'View log', which opens the log in txt format.
What could go wrong?
Any useful message in the log? Please ensure you have the appropriate privileges to publish web layer(s) to your ArcGIS Online organizational account.
I just updated ArcPro to 2.9.1.
I'm currently trying to overwrite a web layer. It has failed on me twice now. And it currently appears to be stuck at "Uploading service definition"
I'll update this if it fails or completes successfully. EDIT: It's failed every time.
I reviewed the logs from my last failures... below are the messages it gives:
2022-01-13 08:36:07 Status: Failed ErrorMessage: Failed to publish web layer
I am sorry that you are experiencing this issue. Could you please check if your ArcGIS Online organization has enough credits? Speaking of which, how complex/large is the polygon layer you are publishing?
Sometimes there are generic errors for larger datasets. Although this is not always the case, it's a good place to start.
If this answer solved your question, please mark it as "Accept as Solution" to help others who have the same question.
It appears others are having similar issues.
I am the admin for my organization. Plenty of credits, not an unusual task for me to perform.
It only includes 1 point feature class with 5 features, and 1 related table that doesn't have any records in it.
ArcGIS version is 2.8.0. I am publishing from the admin's account. Our organization has enough credits. The layer has 31 features. The level of details is low, because the polygons are either county or city boundaries.
last three rows marked as 'failed' from the log:
Test_Layer 25 WebFeatureLayer Ceres Environmental Services, Inc. https://www.arcgis.com/ ceres.admin 2022-01-13 09:46:00 Status: InProgress StatusMessage: Publishing web layer failed (AGO)
Test_Layer 25 WebFeatureLayer Ceres Environmental Services, Inc. https://www.arcgis.com/ ceres.admin 2022-01-13 09:46:02 Status: InProgress StatusMessage: Publishing tool execution failed
Test_Layer 25 WebFeatureLayer Ceres Environmental Services, Inc. https://www.arcgis.com/ ceres.admin 2022-01-13 09:46:05 Status: Failed ErrorMessage: Failed to publish web layer
There must be an AGO issue. My office is having the same issues as listed above. We have more than enough credits, I'm an admin and I was able to publish on the morning of Jan 11, 2022. We can't publish last night or today.