-
Notifications
You must be signed in to change notification settings - Fork 597
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Invalid RFC-3339 date-time value when using client-medialive DescribeChannelCommand #6782
Comments
+1 |
2 similar comments
+1 |
+1 |
+1 when can we expect this to be fixed? |
It seems that issue is in the response of of DescribeChannelCommandOutput - export interface ChannelEngineVersionResponse {
/**
* The UTC time when the version expires.
* @public
*/
ExpirationDate?: Date | undefined;
/**
* The build identifier for this version of the channel version.
* @public
*/
Version?: string | undefined;
} The ExpirationDate is expecting a I have brought this issue to the team and will keep you posted. Thanks! |
Could you please provide the raw response and request id so we can dive deep into this issue? const command = new DescribeChannelCommand({
ChannelId: channelId
});
const response = await client.send(command);
// Log the raw response to see the actual date format
console.log('Raw response:', JSON.stringify(response?.Channel?.ChannelEngineVersion, null, 2)); |
I attempted to print the response, but the |
+1, only happens when the channel is running. Did a test with polling while starting and stopping the channel:
I'll see if I can get the response body. |
I think this is the relevant part of the response body?
|
Checkboxes for prior research
Describe the bug
The DescribeChannelCommand throws an error Invalid RFC-3339 date-time value. The request itself is successful with an http code 200, but the response body fails to deserialize due to an invalid date format.
Regression Issue
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
v20.17.0
Reproduction Steps
Observed Behavior
Expected Behavior
Expected behavior is to receive the description of the channel.
Possible Solution
As a workaround we can use the
ListChannelsCommand
and filter the result manually with the channel id. TheListChannelsCommand
is not affected by the issue.Additional Information/Context
No response
The text was updated successfully, but these errors were encountered: