Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

DatabaseException when importing data from Data Import wizard



DatabaseException occurs when importing data from the Data Import wizard.

Error Messages

DatabaseException caused by prior exception: org.postgresql.util.PSQLException: ERROR: relation "spatial_ref_sys" does not exist  | SQL Code: 0 | SQL State: 42P01

Steps to Reproduce

Import data  or save a case.

Root Cause

A defect or configuration issue in the operating environment.

PostGIS extension was dropped as part of the database upgrade process. The spatial_ref_sys is one of the PostGIS dependent objects in the database. Hence, error occurred for all those features that have data linked to spatial_ref_sys.


As a local-change, create the PostGIS extension later.

Published December 2, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us