Fix invalid endpoint not returning a message.