'Amazon DynamoDB with .Net Framework - ConditionalCheckFailedException
I have a .Net Framework MVC app and I integrated DynamoDB.
When I enter on any page, until the page is fully loaded, I get many DynamoDB errors.


Does anyone know what the issue can be? I checked a lot (found out that is related to Http Modules) but can not find any reason.
I have AWSSDK.Core (3.3.106.7) and AWSSDK.DynamoDBv2 (3.3.105.29) packages installed.
After some more investigation I find that the error is because some files are missing. Example:
Locating source for 'D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\ErrorHandler\HttpErrorResponseExceptionHandler.cs'. The file 'D:\JenkinsWorkspaces\trebuchet-stage-release\AWSDotNetPublic\sdk\src\Core\Amazon.Runtime\Pipeline\ErrorHandler\HttpErrorResponseExceptionHandler.cs' does not exist
But I don't even have a D:\ partition. Where is this coming from?
Solution 1:[1]
You're doing some operation with a condition expression and that condition isn't fulfilled, that's why you're getting a ConditionalCheckFailed exception.
From the docs:
ConditionalCheckFailedException
Message: The conditional request failed.
You specified a condition that evaluated to false. For example, you might have tried to perform a conditional update on an item, but the actual value of the attribute did not match the expected value in the condition.
OK to retry? No
This is all I can tell you based on the amount of details (or lack thereof) you've provided.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Maurice |
