The error “Field type cannot be changed due to existing data in header” means that you are trying to change the field type of a document custom field, and it cannot be changed as it contains existing data in the header.
We request you to please add a new custom field with a desired field type.