Collector for ArcGIS on iPad
Unable to Open Map "Invalid call with current token type"
Trying to open existing map created in ArcGIS Online. Using a global account to log in to Collector for ArcGIS and am not able to load map. Tested the same map using Collector Classic and have no issues loading the map. I have tested loading different maps created the same way and have had no issues loading them in Collector for ArcGIS. I have checked and updated sharing permissions and nothing has been changed on the ArcGIS Online side of things that would usually prevent a map from loading properly.
What am I missing? Thoughts?
Hi Brent,
Thanks for the info. Once i made a copy of the feature in the web map and deleted the original feature, it was all good. Sounds like it just got a bit out of whack when i changed the pop-up settings. The issue is already resolved for me. Just a bit hairy for a moment there as i have people in the field using that map. We are using Explorer on iOS.
Thanks,
Jamie.
I also experienced this issue today. I am running the latest versions of iOS 13.6 on an iPhone 11, Collector for ArcGIS v20.2.2 build 2847, and ArcGIS Field Maps v20.1.0 build 61.
Below are the events that caused and fixed this bug in my scenario in hopes that this may help someone with the same issue in the future:
So this bug unfortunately still seems to be present in the current versions of these softwares.
Hi @KristalMclean ,
Although this is an old post but since other users has reported the same issue, I wanted to share an update here that may help identifying the issue.
If you have a date field with certain formats in the pop up for a layer in your web map, you may get an error ('invalid call with current token type') when trying to open the map in New Collector and Field Maps while it works fine in Collector Classic.
One example is the following format:
You can check the format of your date fields in the pop ups by looking at the JSON for the web map using AGO Assistant. If you saw a format like what mentioned above, you can change it to "dateFormat": "shortDateLongTime" to resolve the issue.
Alternatively, you can pen popup configuration > Configure Attributes > change the display format for your date field and save the map.
A bug has been logged against this behavior:
All the best,
MJ
I have tried your solution and it still does not work for me.
So frustrating.
I'm sorry to hear that you are still experiencing this issue. This error may have other causes. However, in order to rule out the wrong date format, can you make sure that all date fields in your feature layer has the proper format? Also, you can try the following:
If possible, please share your data with me so I can run some more testing on my end.
All the best,
MJ
Will the app be updated to resolve this issue?
Hi @JamesReed2 ,
I'm not sure if it gets fixed in the coming update of the Field Maps app but in the meantime, you can work around this issue by changing the date format.
If you don't mind, can you please share more details about how you originally published your data. We are trying to identify the source of the date fields with this format.
Thanks,
MJ
For the map we are currently using, we had the same issue. Found out the feature points that are on the map were the issue. I found what I had to do was save the feature points as a layer. That seemed to solve the issue. Map is currently able to load on all mobile devices.