I have a web map configured for offline mode. I was able to recreate offline areas back in February. Now it is impossible!
Within Field Maps Designer, it shows "Packaging" for a long time and ends with "Failed" without explanation. I could see all the individual packages created, I compared their size with the one back in February and they matched, but the offline area is not created from them. I also tried smaller areas, degraded my level of details, still no success...The weird thing is that within Field Maps app on my iPhone, with the same web map I can create offline areas without any issues.
My users are expected to see their offline areas on their devices (which I do not have access) and not to have to generate them, any suggestions?
Solved! Go to Solution.
In ArcGIS Online go to create offline map areas. Prior to hitting create, open the browser developer tools and go to the network tab. Hit create.
You will begin to see requests to setup the map area. Then requests to check the update of the job. Look for the repeated request as the map is packaging.
If you open one of these up, and remove the f=json... from the end of the URL request, you can see a more informative update on where job is up to and why it ultimately fails. e.g. URL looks like:
https://packaging.arcgis.com/arcgis/rest/services/OfflinePackaging/GPServer/SetupMapArea/jobs/longjobidstringhere12bdfasdfsasdf
Click on 'packages' to see more on the results. Should give you something to work with. Common reasons you will encounter are:
If it's something else like one of the above reasons you should get something more informative. Feel free to post it here. If it's some random issue like a 503 indicating an internal server error, could be tied to a field name, corrupted layer/view or Esri issue. I'd be reaching out to support.
Please don't forget the Kudos
In ArcGIS Online go to create offline map areas. Prior to hitting create, open the browser developer tools and go to the network tab. Hit create.
You will begin to see requests to setup the map area. Then requests to check the update of the job. Look for the repeated request as the map is packaging.
If you open one of these up, and remove the f=json... from the end of the URL request, you can see a more informative update on where job is up to and why it ultimately fails. e.g. URL looks like:
https://packaging.arcgis.com/arcgis/rest/services/OfflinePackaging/GPServer/SetupMapArea/jobs/longjobidstringhere12bdfasdfsasdf
Click on 'packages' to see more on the results. Should give you something to work with. Common reasons you will encounter are:
If it's something else like one of the above reasons you should get something more informative. Feel free to post it here. If it's some random issue like a 503 indicating an internal server error, could be tied to a field name, corrupted layer/view or Esri issue. I'd be reaching out to support.
Please don't forget the Kudos
Hi @ChristopherCounsell, this is helpful in identifying which layers could be the problem. In my case (as I was suspecting) it is two layers brought in from Portal that say "Replica job... encountered error. Failed to create replica." Do you know what I could do as a solution?
Hi Chris, any insight on this error? It seems like the synctools service is timing out because there is too much data to package?
{ "paramName": "packages", "dataType": "GPString", "value": [ { "source": *, "error": "{\"code\": 32, \"messageCode\": \"OffPkg_ 32\", \"message\": \"Replica job */FeatureServer/jobs/j3c5414c7a1414cdb8837d279f576cc54 encountered error {\\\"code\\\": 408, \\\"description\\\": \\\"SyncTools service error.(null)\\\"}\", \"params\": {\"url\": \"*/FeatureServer/jobs/j3c5414c7a1414cdb8837d279f576cc54\", \"error\": \"{\\\"code\\\": 408, \\\"description\\\": \\\"SyncTools service error.(null)\\\"}\"}}" },
Thanks a lot for your answer, it was very useful. I was able to open one request file and it pointed me to the problem: my 2 tile services could not export tiles for the lower levels (2,3.. 11) as I created only 12 to 21 (which by the way makes sense for my area). I'll see what best way to fix that.