Hello,
I have a Collector user out in the field using an offline web map featuring an ArcGIS online hosted feature class. He has been using this successfully but is now getting the following error messages "Abort due to constraint violation" and "Unable to open the database file - Create virtual table for selection failed" when he tries to collect a point. It seems to be intermittent. It is now allowing him to collect a point but not delete a point. I have not been able to replicate the error with his login on my device. He has tried to remove the map from his device and download again and it has not solved the problem.
This would be unfortunate if this same intermittent error is occurring on iOS version of new Collector. Carl, could you provide more details to see if this is the same issue? A screenshot or exact verbiage would be nice along with circumstances when the error occurred.
We had two field crews that were plagued by this error this past field season (Android, current version of Collector, 18.0.3). I submitted a support ticket, but due to the intermittent nature of this issue, we didn't get anywhere. I've experienced the error personally once, but have not been able to recreate it. I've literally spent hours downloading offline maps, creating features, and removing the map in hopes of the error happening to me again. I wasn't entirely pleased with support's troubleshooting logic, so just closed the ticket. I asked for a version of Collector with logging enabled (something that is available on the current iOS version), but they thought it made more sense to recreate the feature service and use process of elimination to try and find what was causing the error. But since the error is so hard to recreate, I didn't think we were going to get anywhere with their approach.
I was hopeful that this would just disappear when Aurora for Android gets out of Beta, but now I'm a little worried with this latest news from Carl.
Ronald Vanderpool, did you make any changes? Just curious if there's a reason why you haven't seen it pop up lately.
Edit: One thing I should add is that the 'abort due to constraint violation' error is normally preceded by an 'unable to open file database' error.
Greetings Jimmy.
The only change we made on our end for field workers was to remove the Android Collector Beta and use the old Android Collector. I was confident that we were safe until Carl had his issues on an iOS. Fingers are crossed around here because the support was not what I expected, very similar to what you experienced. Too many versions of Android and iOS operating systems out there and if units are not updated regularly then who knows. Also if they are updated and the Collector app is not set to interface with the new OS versions then there we go again. Scary business, but it is about Halloween so scary is expected..........HaHaHa
I'm receiving the error: "Unable to Submit -Abort due to constraint violation"
I just set up a map for collector using the ArcGIS Blog titled "Make your first Collector map". I went out and collected a few features and came back in to check the results. Everything worked as planned. I went back out and collected a path - worked well. Finally I attempted to collect an area (the building perimeter) and after pressing the "Submit" button I received the error.
I know this isn't the exact issue everyone else is having but hopefully it will help someone somewhere.
EDIT: As you can see, I'm using the new Collector app for iOS.
Has anyone found a resolution to this? One of my field inspectors received this error for the first time today - they have been using the same application for nearly 9 months with no changes to the schema or layer.
One of my field staff has also received this error but my other staff in the same area has not. I worked again only after removing and downloading the map again. Would have been annoying if there was no cellular service.