Select to view content in your preferred language

Problems running scheduled model builder task Error 002926 - Can't find Input Map

2698
6
10-07-2022 03:00 PM
JeffLegato1
Frequent Contributor

I have a fairly simple model that creates a Mobile Map Package and then shares that .mmpk to an AGOL account. This overwrites the old one. The model works perfectly when run manually. I then try to run it as a scheduled task and get an error saying it has an invalid parameter: Input Map. The error is 002926. I can't find a reference to this error online anywhere.

Getting this to work would really help me keep this data current for our public safety staff so any help at all is much appreciated. 

0 Kudos
6 Replies
chill_gis_dude
Frequent Contributor

Hey Jeff,

Did you ever figure out a solution to this issue? I am running into the exact same problem where my mmpk script works fine when run manually but not as a scheduled task

0 Kudos
JeffLegato1
Frequent Contributor

Nope. Still updating manually. My scheduled task actually disappeared from ArcGIS Pro. Maybe an update wiped it out? I haven't tried recreating it. 

0 Kudos
sshah
by
New Contributor

I am seeing the exact same issue on ArcPro v3.4.2

City_of_LakelandGIS
Regular Contributor

Issue also persists at Pro 3.5.1

0 Kudos
GraceJansen
Emerging Contributor

Posting a solution from Esri Support here to help anyone still having this issue:

"When you schedule a ModelBuilder model, the scheduled process runs outside your open ArcGIS Pro session. If the model’s Input Map is set to just the map name (for example, Map), the scheduled run cannot resolve it and returns Error 002926: Can’t find Input Map."

"Instead of adding the Map from the dropdown in the tool, ...[give the entire path as the Input Map.] For example, C:\Projects\ProjectName.aprx\Map Make sure to replace 'Map' with the exact map name in the project."

I had to manually type in the full file path name because the Browse folder would not let me interactively browse to and select the map file. This suggestion resolved the Error 002926 I was seeing in ArcGIS Pro v3.1.8.

 

https://support.esri.com/en-us/bug/when-scheduling-the-create-map-tile-package-geoprocessi-bug-00015...

 

JeffLegato1
Frequent Contributor

Thanks for posting this! I'll give it a shot. 

0 Kudos