After plunging thropugh my code thinking it was a script problem I discovered something.
My $$Return code would nto render and my WebQuerySave agent code in LS would not render.
The rendered URL always had a funky and seq=1 on the end…
I got errors and a lot of misleading suggestions on this board.
THE SOLUTION IS that you AGENTS MUST NOT BE PRIVATE.
Making them private agents causes both these problems.
Sharing them resolves them both.
Remember to closeout the browser though and restart after making changes. I have noticed that any agent changes always require a browser restart. Otherwise you think you still have a problem but itsa because its been cached int he browser.
I hope this saves someone some time.
I hope they fix this in version 7. What a drag.