adds 404 to allowed error codes