Script not giving data for navigating the website for second time

Hello,
I am using following script to get the json data using rest API. While navigating again the data in json file is not correct or sometimes it doesn’t give the data at all.

Following URLs are encoded and I have tried using decoded URLs as well. Both produced same results. Could you please help me with this.

setEventName Target-PDP
navigate https%3A%2F%2Fwww.target.com%2Fp%2Frizzy-home-pink-knots-texture-comforter-set%2F-%2FA-16619804%23lnk%3Dsametab%26preselect%3D16568740
setEventName Target-PDP-Soft
navigate https%3A%2F%2Fwww.target.com%2Fp%2Frizzy-home-pink-knots-texture-comforter-set%2F-%2FA-16619804%23lnk%3Dsametab%26preselect%3D16568740