Zoho Creator invokeUrl to retreive PDF

Zoho Creator invokeUrl to retreive PDF

I'm trying to retreive a record PDF to send to Print Node. Tried with and without the zoho_creator_connection.

pdf_content = invokeurl
[
url :"https://creatorapp.zoho.com.au/<org_namespace>/<app_link_name>/record-pdf/<report_link_name>/" + input.ID
type :GET
connection:"zoho_creator_connection"
];

info pdf_content returns a login page. I can navigate to the page in a browser when logged in.

It would be great to not have to publish the report. What am I missing?