Could it be that your shapefile has a field named "fid" which does not hold unique numbers in every row?

Raymond



On 21-07-2020 14:59, José Carlos Guerrero Antúnez wrote:
Hi,

I am having trouble saving a shapefile as geopackage.

The error message is this,
Export to vector file failed.

Error: Feature write errors:

Feature creation error (OGR error: failed to execute insert : UNIQUE constraint failed: sa_area_estudio.fid)


I'm working in MacOS (Mojave) and QGIS LTR 3.10.


Many thanks in advance,


--
José Carlos Guerrero

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to