Why doesn't this go through the REST endpoint?