Why does the error occur?