Fix error message when inserting a field in an unsupported location