Hi Hilary,
Correct, this is a Filler form. I did create a separate test form and it worked fine. The error that comes back only presents the URL (which is the correct one), saying that it can't return the results. There is no proper error handling for this unfortunately. Is there any way to extend the timeout on this?
BTW, just to give you a bit more info...
The REST query targets folder in one of 12 possible SharePoint Document Libraries (hence not using a SharePoint List query because the URL is not modifiable at runtime).
The user types the Client Number (which is the same as the target folder) and a rule picks this up, edits the REST URL and executes. Then in principle, another field is updated with the found folder name but this never happens because the query fails.
I'm starting to think that I'd be better off exporting the PDF to a separate "fixed" library and building a new workflow to move it to the end target. At least it would be transparent to the end user.
Thoughts?