Closed blurfx closed 2 months ago
Hi @blurfx ,
Thanks for opening this issue.
This issue is because the service models this field as a date-time
data type which conforms to RFC3339.
So in this case its missing the Z
suffix.
- "TimeStamp": "2023-07-18T12:04:24"
+ "TimeStamp": "2023-07-18T12:04:24Z"
I will need to reach out to the service team and ask that they return the data which they model.
Thanks, Ran~
Yes this is the message in SDK V2 which naturally prompt dev in v3 which currently doesnt work due to this issue: (node:29980) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
rerouting this back to the JS team. This is clearly an issue with the upstream service, but other SDKs have customizations in place to make the timestamp format less restrictive (iso8601 rather than the stricter RFC3339)
This is fixed service side. V1092938187
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.
This issue is now closed.
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Checkboxes for prior research
Describe the bug
When I send DescribeThumbnail command using node.js MediaLive client, smithy client throws
Invalid RFC-3339 date-time value
. see below reference where the error throws.https://github.com/aws/aws-sdk-js-v3/blob/171254fbf7a9d9ea90d02b611962c8a5a2d2150c/packages/smithy-client/src/date-utils.ts#L108
the response from the MediaLive API was a pretty normal with HTTP 200, and the actual response was as follows. but
TimeStamp
wasn't follows RFC-3399, which seems to be causing the error.SDK version number
@aws-sdk/client-medialive@3.368.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
TypeError
Invalid RFC-3339 date-time value
throws.Stack traces:
Expected Behavior
It should return valid response of DescribeThumbnail API
Possible Solution
No response
Additional Information/Context
No response