Error message: Wix code SDK error: The url parameter that is passed to the to method cannot be set to the value ....must be of type string

Thank you so much for your quick response. I didn’t know the typeof function - thank you. It is logging it as an object.

I have changed my code to the code you suggest above

let linkToDynamicPage = [("/edit-product-detail/"+title).toString()]

but I am still receiving the same error message. Any thoughts would be greatly appreciated!