What exactly happening here and why it is showing error?



Please share standalone code to reproduce the issue reported above? Thank you