<div dir="auto">Hi Mats,<div dir="auto"><br></div><div dir="auto">Several times I had to deal with this kind of problem and I found that the plugin GeomAttribute can be useful to find a faulty entity in a table. Maybe it could help you.</div><div dir="auto"> <a href="https://philipwhitten.github.io/geomAttribute/html/pluginTools/geomAttribute.html">https://philipwhitten.github.io/geomAttribute/html/pluginTools/geomAttribute.html</a></div><div dir="auto"><br></div><div dir="auto">Btw, I have the feeling that the code validating a new entity in QGIS is too permissive... I have to manually correct our DB regularly as some users are creating incorrect data (especially NULL entities) and we don't even know how...</div><div dir="auto"><br></div><div dir="auto">The plugin is also useful to correct data before import. </div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto"><br></div><div dir="auto">Jésahel B. </div><div dir="auto"><br></div><div dir="auto"><br></div></div>