return an error instead of a get