Do not set custom fields, if none are set on the object, to avoid 500 error