I wrote a function code that returns the URL of a site from aws lamda function. I want to open it with window.open (), but it doesn't work.

fetch (
// omitted
        ) .then ((response) =>response.json ()) .then (response =>{
            console.log (response.body)
            window.open (response.body, '_blank');

The above is "quotes" on the console. . . . ."and URL are displayed, but what you actually open is the page i am creating. Why is this? URL that appeared on the console for trial

window.open ("https: // ...", '_blank')

When I type it in, it opens properly. What may be the cause?