signatureParams.signingString += `(request-target): ${req.method.toLowerCase()} ${req.path}`; results: '(request-target): get function getPath() { return this.getUrl().pathname; } ' req.path() replace req.path ,can work