Select to view content in your preferred language

Add Data: Items with these extensions are not supported

912
0
04-09-2017 11:14 PM
simoxu
by MVP Regular Contributor
MVP Regular Contributor

Hello folks,

I am wondering whether or not I am the only one who has this problem with the Add Data Widget:

I built a web application using Web Appbuilder 2.3, and in the application I included widget Add Data.

I always get an error "Generate Features error: Data upload to hosted server failed" when I try to add a geojson file. but strangely, when I add a zipped shapefile, it works fine.

When adding data fails, I checked the log for the hosted ArcGIS server, it says: "Failed to upload the item 'stations.geojson'. Items with these extensions are not supported". This seems a false error message, because when I check the properties of the Publishingtools GP service on the ArcGIS server, the value for the "allowedUploadFileTypes" property includes "geojson".

More strangely, if I upload the same geojson in portal for ArcGIS directly, it can be uploaded and published as a hosted service.

Any advice?

More context about my environment:

Portal for ArcGIS 10.4.1 federated with ArcGIS server 10.4.1

Web appbuilder 2.3

Windows Integrated Authentication

Thanks,

Simo

0 Replies