Question
John Deere
IN
Last activity: 18 Oct 2023 6:18 EDT
Authentical error while connecting to Pega DMS
Hi,
We are trying to integrate our Pega DMS (digital messaging service) with Microsoft Teams. As part of this implementation, we are building an integration layer which acts as a middleware system between Teams and Pega DMS(it is as per client channel APi architecture).
As a first step, we are trying to make our desktop systems as a middleware system using Node.js and we are trying to call Pega DMS using a RETS API call. While making a call, we are getting an error message.
response: { status: 403, statusText: 'Forbidden', headers: Object [AxiosHeaders] { date: 'Wed, 18 Oct 2023 08:32:09 GMT', 'content-type': 'application/json', 'content-length': '430', connection: 'close', 'x-amzn-requestid': 'XXXX', 'x-amzn-errortype': 'IncompleteSignatureException', 'x-amz-apigw-id': 'XXXX', 'x-amzn-trace-id': 'XXXXXX' },
not a valid key=value pair (missing equal-sign) in Authorization header: 'Bearer XXXXXX'."
Could anyone assist what is IncompleteSignatureException and how this issue can be resolved? System is properly generating the bearer token in while calling REST API (which we can see in console) but it seems that validation of bearer token is getting failed.