Unable to connect to AWS for Textract in uipath

Getting the following Error in UiPath, but all the key and secret provided are correct
Can anyone help me out?

Analyze Single Page Document: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.