I'm getting this error (Esri.ArcGISRuntime.ArcGISRuntimeException: SQLite constraint violation: SQLite: 19
Abort due to constraint violation) using an offline map; and this error "Unable to Submit 1 or more attributes failed" using the same map online. I'm using a Trimble R2 GNSS and Esri Field Maps to collect.
Here was my general workflow:
- I have been adding GPS metadata to my Esri fields so I can collect x,y,z in the field and get accuracy, etc.
- I have been using Geoid 18 in Trimble Mobile Manager
- I was collecting points this Monday with Geoid 18, everything worked well
- We received a survey in Geoid 12B that we wanted to overlay our survey onto
- So, in Trimble Mobile Manager, I changed the geoid, but it needed me to download Geoid 12B. I did that Monday night.
- Using the same map and data collection feature, I tried the new Geoid 12B on Tuesday morning.
- Using the map offline, I got this error "Unable to submit com.esri.arcgisruntime.ArcGISRuntimeeException: SQLite constraint violation: SQLite: 19 Abort due to constraint violation."
- Using the map online, I get this error " Unable to Submit 1 or more attributes failed."
I get the same errors when I switch back to Geoid 18. I can use my phone's GPS to collect points and autofill GPS metadata fields, but as soon as I switch to using Trimble R2, I get the errors again. I believe I can collect points using R2 and a point feature that does not have GPS metadata fields. I need to test further.
Any suggestions?