Nodejs unable to connect with AWS KMS using IAMROLE

Hello we have a problem when we’re trying to deploy our CSFLE to our testing env. using aws kmsProvider
we’re using mongodb enterprise 5.0 for our db. In our local env. our encryption is working fine using ```local` provider and code setup.

“mongodb”: “5.0.0”,
“mongodb-client-encryption”: “2.9.1”,
@aws-sdk/credential-providers”: “3.529.1”,
“aws-sdk”: “2.966.0”,

FROM node:16-bullseye-slim

RUN curl -fsSL | gpg -o /usr/share/keyrings/mongodb-server-5.0.gpg --dearmor
RUN echo “deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-5.0.gpg ] MongoDB Repositories bullseye/mongodb-enterprise/5.0 main”
| tee /etc/apt/sources.list.d/mongodb-enterprise-5.0.list

RUN apt update && apt install mongodb-enterprise-cryptd=5.0.23 -y

kmsProviders = {
aws: {
// To authenticate with an IAM Role, we intentionally leave this blank

Error encountered:

MongoCryptError: Unexpected field: ‘expiration’\n at StateMachine.execute (/ ││ code/node_modules/mongodb-client-encryption/lib/stateMachine.js:238:20)\n at /code/node_modules/mongodb-client-encr │
│ yption/lib/stateMachine.js:193:20\n at processTicksAndRejections (node:internal/process/task_queues:96:5)