Value of type String() cannot be converted to string

I am passing like this I used correct syntax only but it’s throwing error