I am not able to understand the error

The way you are passing your URL isn’t correct.