RPE RQM report using DNG Rest API does not work when deployed to RQM Report Resources

I have a RPE report (2.1.1) using RQM (6.0.6) report which is accessing DNG for additional requirement information.
I'm changing the RM href url into a Rest API in javascript using: href.replace("/resources/","/publish/resources?resourceURI=");
The report runs successfully on my desktop. When I load it up into the RQM Reporting Resources, the report aborts the first time a RM Rest API is executed.
Both projects have Configuration Manager (not GCM) enabled and the QM project has the RM project Associated as a resource.
The error message is:
Data source _DNGRequirements using URL https://jazz.irt.xxxxxxx/rm/publish/resources?resourceURI=CA_fxxxxxx
Error in engine Can not redirect to the OAuthentication identify URL. Reponse message: OK: <&'" <&'"
One answer

Comments
Celia Bengel
Nov 16 '18, 12:56 p.m.Also..I did use OAuth for the .dsx