Proper error for bad partition dimension ids