You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@aws-sdk/client-iot-data-plane
after upgrade from ^3.437.0 → ^3.533.0
I start to get this error
"stack":
TypeError: identity.expiration.getTime is not a function
at /opt/atlassian/pipelines/agent/build/node_modules/@smithy/core/dist-cjs/index.js:270:154
at /opt/atlassian/pipelines/agent/build/node_modules/@smithy/core/dist-cjs/index.js:315:9
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at /opt/atlassian/pipelines/agent/build/node_modules/@smithy/core/dist-cjs/index.js:82:17
at /opt/atlassian/pipelines/agent/build/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22
"message": "identity.expiration.getTime is not a function"
This is how I use it.
const command = new GetThingShadowCommand({
thingName,
});
const client = new IoTDataPlaneClient({
endpoint: `https://${process.env.IOT_ENDPOINT}`,
region: process.env.REGION,
credentials,
});
client.send(command),
SDK version number
@aws-sdk/client-iot-data-plane 3.533.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v18.16.0
Reproduction Steps
const command = new GetThingShadowCommand({
thingName,
});
const client = new IoTDataPlaneClient({
endpoint: `https://${process.env.IOT_ENDPOINT}`,
region: process.env.REGION,
credentials,
});
client.send(command),
Observed Behavior
error
TypeError: identity.expiration.getTime is not a function
at /opt/atlassian/pipelines/agent/build/node_modules/@smithy/core/dist-cjs/index.js:270:154
at /opt/atlassian/pipelines/agent/build/node_modules/@smithy/core/dist-cjs/index.js:315:9
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at /opt/atlassian/pipelines/agent/build/node_modules/@smithy/core/dist-cjs/index.js:82:17
at /opt/atlassian/pipelines/agent/build/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22
"message": "identity.expiration.getTime is not a function"
Expected Behavior
No error
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered:
RanVaknin
added
response-requested
Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days.
p2
This is a standard priority issue
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Mar 18, 2024
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Checkboxes for prior research
Describe the bug
@aws-sdk/client-iot-data-plane
after upgrade from ^3.437.0 → ^3.533.0
I start to get this error
This is how I use it.
SDK version number
@aws-sdk/client-iot-data-plane 3.533.0
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v18.16.0
Reproduction Steps
Observed Behavior
error
Expected Behavior
No error
Possible Solution
No response
Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: