Print Task - invalid url

Discussion created by KG22 on May 1, 2013
Latest reply on May 1, 2013 by KG22
10.1 ags

I call the print task from within my app and the response is "invalid url".
I only have one operational layer and it is visible within the app.
I take the web map as json string from firebug and paste it into the export map test page and i get my pdf out as expected.
How can this be happening. Does the invalid url error refer to the operational layer or perhaps the output location?
Why would it work within the test page but not from my app?