404 not found error when creating new request object

In code block below I am getting a 404 error when creating the request. I assume i need to provide the full path but can't find the documentation as to what that path is.

This began with the lastest patch level. It worked as is before this.

Anyone have a suggestion?

Thanks

"use strict";
exports.$exported = true;

var url = require('url'),
globals = require("@sage/syracuse-lib/src/streamlineLib/streamline-runtime").globals;// require('./streamline-runtime').globals;

var redirections = [];

exports.PayaRequest = async function (req, callback) {
const request = require('request');

....

return response;

}