400 is probably a better error code in this case