Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
objective : Need to fetch all qvs for all apps in the server to get the lineage details.
We are attempting to run a PowerShell script as a QMC External Program Task to call the QRS API. ( Also tried from the server ) The script successfully authenticates and can list all apps via /qrs/app/full. However, any attempt to get details for a single app (e.g., /qrs/app/{id}/script or /qrs/app/{id}) fails with a "404 Not Found" error and the message "No matching endpoint found".
We have confirmed the following:
The service user has RootAdmin privileges.
The certificate is correct and loads successfully.
The API calls work correctly when run from a standard PowerShell window on the same server, but fail when run via a QMC task.
The issue persists even with a minimal, hardcoded script, ruling out script logic errors.
Hello @SayanCiti007,
I'd recommend you use dev-hub or Butler-Spyglass.
My guess is that your {id} parm is getting messed up. Anything that doesn't look like the expected 36 character guid pattern will return the 404. Can you print out the full url in your script before you send it to debug?
-Rob
Definitely check the other suggestions but I did want to point out that /qrs/app/{id}/script doesn't exist.
Some snippet of script may help to see what may be the cause but if you get a result from the full endpoint (app/full) or the condensed endpoint (app), then I would not expect an app specific (app/id) to fail.
try add this header explicitly to every request:
SCRIPT
LOG
using dev hub we cant export script at bulk for 100 apps.
It seems to be error is happening only on script end point . the other QRS API call is successfull. I tried with object fetch and it worked.
$objectsUrl = "$qrsServer/qrs/app/object/full?xrfkey=$xrfkey&filter=$encodedFilter"
/qrs/app/{id}/script endpoint.- this is not working seems to be,
Using butler spyglass, you can extract data connections, lineage e app scripts from all your apps.
As @Levi_Turner pointed out, /script is not a valid endpoint for QRS.
-Rob