exceptions when trying to store records with invalid language and/or workspaces