Select to view content in your preferred language

ErrorMessage: Failed to publish web layer

11928
21
Jump to solution
02-09-2021 12:10 PM
Labels (2)
wilcow
by
Frequent Contributor

Attempting to publish Enterprise GIS layers to AGO and after an hour or so, I receive this message:

Server Response: {"error":{"code":400,"message":"Invalid URL","details":["Invalid URL"]}}

I've seen this error when trying to publish features with Definition Queries, but none of these layers have DQs. 

A couple of them do have related tables, but I removed those on the latest attempt to no avail. 

There are a ton of features in the project I'm publishing - could this be a simple time-out issue?

Tags (2)
0 Kudos
21 Replies
Robert_LeClair
Esri Esteemed Contributor

For BUG-000111131, the workaround is to upgrade to 10.6.1 or higher.  If you can't, then the proposed workaround is to populate with some type of data, yes.

For BUG-000117825/BUG-000097813, the workaround is to create a new text field and populate the date values from the data field using the Field Calculator.  Enable time on the start date specifying the time zone.  The data will appear in ArcGIS Online.

SillPaul
Occasional Contributor

I had the same problem and error message when attempting to publish to a hosted feature layer on AGO recently.  I found that correcting a few coded-value domain busts in the feature class resolved this issue.

0 Kudos