Raise 400 on bad format