Select to view content in your preferred language

OfflineMap Download "NSURLErrorDomain error -1013"

7766
4
Jump to solution
03-24-2015 05:44 AM
BledarBirbo1
Frequent Contributor

Hi.

We are getting this error while trying to download the map on the ArcGIS Collector for iOS.

After we select the Esri basemap area to download the map starts downloading and when the progress bar reaches almost the end we get the error : Cannot download Map "NSURLErrorDomain error -1013"

Things to consider.

1-) The map works fine if we open it (and not download it). We can edit features and changes are going back to the server.

2-) The Feature Layers are published in British National Grid. Spatial Reference: 27700

3-) Feature Layer Properties:

Sync Capabilities:   Supports Registering Existing Data: true

Supports Sync Direction Control: true

Supports PerLayer Sync: true

Supports PerReplica Sync: false

Supports RollbackOnFailure : false

Supports Async: true

4-) There are no errors from the ArcGIS Server side.

Any ideas of why we cannot download the map ?

Thanks.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
BledarBirbo1
Frequent Contributor

Hi.

Just want to let you know that we fixed this error :

1-) We were using WebTier authentication on our ArcGIS Server that was hosting the featureservcie and switched to ArcGIS authentication.

2-) Replaced the map on the AGOL with the following basemap from ESRI.

http://tiledbasemaps.arcgis.com/arcgis/rest/services/World_Imagery/MapServer

And it worked.

Thanks.

View solution in original post

0 Kudos
4 Replies
MiaogengZhang
Esri Regular Contributor

"NSURLErrorDomain error -1013" means "the connection failed because authentication is required." Do you add your server feature service as an item (security embedded)? 

0 Kudos
BledarBirbo1
Frequent Contributor

Hi.

Just want to let you know that we fixed this error :

1-) We were using WebTier authentication on our ArcGIS Server that was hosting the featureservcie and switched to ArcGIS authentication.

2-) Replaced the map on the AGOL with the following basemap from ESRI.

http://tiledbasemaps.arcgis.com/arcgis/rest/services/World_Imagery/MapServer

And it worked.

Thanks.

0 Kudos
MiaogengZhang
Esri Regular Contributor

Great to hear. Thanks for the update.

0 Kudos
GISSupport3
Frequent Contributor

More of a workaround that a fix

I now have some users with the same error on iOS devices

We are using Portal.

Downloads works with Android devices.

Services are items, though I don't get the option to imbed login details.

0 Kudos