Return a meaningful error if an invalid ID is supplied on GET.