Unable to cast object of type 'Amazon.DynamoDBv2.Model.QueryRequest' to type 'System.String'. #3591
Labels
bug
This issue is a bug.
dynamodb
p3
This is a minor priority issue
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 7 days.
Describe the bug
Unable to cast object of type
Amazon.DynamoDBv2.Model.QueryRequest
to typeSystem.String
.I am querying Dynamo DB using .NET Core API. It was working with the Scan operation but I changed it to Query operation and also added a GSI where GroupID is the partition key and LogDateTime as sort key. I am first time using Dynamo DB so not sure what is the correct way to go with. I am getting this error in the code given below.
Regression Issue
Expected Behavior
.NET Core API should successfully fetch data from Dynamo db using Query operation.
Current Behavior
Unable to cast object of type
Amazon.DynamoDBv2.Model.QueryRequest
to typeSystem.String
.Reproduction Steps
On executing the above code
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
Assembly AWSSDK.DynamoDBv2, Version=3.3.0.0
Targeted .NET Platform
.NET 6
Operating System and version
Windows 10
The text was updated successfully, but these errors were encountered: