Postman AWS SDK Call cURL exported code not working

I am using Postman to test a call to the AWS SDK API.

It runs ok on Postman Desktop, but if a just copy the cURL code and run it on the terminal, it doesn’t work. I get the message:
“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.”.

Am I doing something wrong? Or is Postman doing something that is not included in the “code” option.