"code must be 301 or 302 but was %2"?