Return correct error message from get