How to fix 22011: substring_error in PostgreSQL | DevErrors