PostUnits and PutUnits, better exception messages