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?
Thank you,
Stan
According to https://status.arcgis.com/ things appear to be working normal. But if you keep an eye on it, they update it regularly.
It's been failing for the last 6 hours.
Looking at https://status.arcgis.com/ it looks like it's 'working' now. This was the message about feature service publishing:
Well, since the AGOL feature layers are apparently working ok, something is going on locally with your publishing. I am not sure why @Kanin marked the post as the "solution" but I removed that so that this thread stays open.
Questions: can you publish other layers?
Can you update other published layers?
What we need to figure out is where the issue is coming from.
I’ve been having similar issues all afternoon trying to publish a simple 800 point layer from pro, through Agol as xlsx and csv. All failing continually. I’m signed in to AGOL & field names follow best practice.
Completely stumped & come across this post trying to troubleshoot.
Looks like AGOL might have an issue with one of their servers. We export about 80 layers to open data daily using Python and ArcPro and one won't update and hasn't for some time. If we rename and export it, it works so not on our side or the pro document. All others export through the script and manually as expected.
Error messages are likely not related to the issue, I suspect the 400 means it is not in the index at Esri so there is possibly a bad cluster or re-indexing needed.
Status: InProgress StatusMessage: Server Response: ERROR: code:400, Unable to delete item. This service item has a related Service item, Bad syntax in request.
Status: InProgress StatusMessage: Publishing tool execution failed
Status: Failed ErrorMessage: Failed to publish web layer
We had a similar issue in 2020 where every 8th or so person could not get into a survey123 app and it turned out to be a bad cluster and once Esri re-indexed or did their magic the issue was resolved. The item is our roads layer in open data if it helps Esri find which server has an issue because I am pretty sure this is an AGOL issue, not a local one.