While we try to execute the Casetemplate in our console application with WCO API, most of the times we are faching with 401 Unauthorised access.
less point of times we are able to retrieve the template. we have not changed any headers and request end point and time stamp including HMAC key.
here i am posting the logic and headers of the WCO pilot case template retrieving function.
kindly have a look into this and help me out to resolve this API issue ASAP.
dataToSign=(request-target): get /v1/groups/0a3687cf-63db-14d4-98fb-966e00000135/caseTemplate host: rms-world-check-one-api-pilot.thomsonreuters.com date: Tue, 21 May 2019 08:12:59 GMT
authorisation=Signature keyId="77b33509-XXXXXX1902400XXXX",algorithm="hmac-sha256",headers="(request-target) host date",signature="Wa/C4OGsQUnGNUibURfTc3vorHlAon35iv03UzDN4KI="
please check it and analyse why it has showing n number of times as unauthorised.
@Irfan.Khan Pls look into this.