DynamoDB Errors

AWS fully managed NoSQL database service

41 solutionsOfficial Docs →
INTERMEDIATEHIGH
How to fix "InternalServerError" in DynamoDB
DynamoDB InternalServerError (HTTP 500) indicates AWS infrastructure is temporarily unable to process your request. Most are transient and automatically retried by SDK clients, but persistent errors require monitoring and investigation.
0 viewsInternalServerError: Internal Server Error
INTERMEDIATEHIGH
How to fix "ValidationException: The provided key element does not match the schema" in DynamoDB
This error occurs when the key attributes you provide in a DynamoDB operation (GetItem, UpdateItem, DeleteItem, etc.) do not match your table's defined key schema. The fix requires ensuring key names, data types, and structure align with your table definition.
0 viewsValidationException: The provided key element does...
INTERMEDIATEMEDIUM
How to fix 'ImportConflictException: There was a conflict when attempting to import to the table' in DynamoDB
This error occurs when AWS DynamoDB encounters a conflict during table import operations, typically when importing data from S3 or during restore operations. The conflict usually involves schema mismatches, existing data conflicts, or concurrent operations on the same table.
0 viewsImportConflictException: There was a conflict when...
BEGINNERMEDIUM
How to fix "ResourceNotFoundException: Requested resource not found" in DynamoDB
DynamoDB returns ResourceNotFoundException when you attempt to access a table, index, or other resource that doesn't exist or isn't in an active state. This HTTP 400 error occurs when the requested resource name is incorrect, the resource is still being created, or it has been deleted.
0 viewsResourceNotFoundException: Requested resource not ...
INTERMEDIATEMEDIUM
How to fix "TrimmedDataAccessException: The requested data has been trimmed" in DynamoDB Streams
TrimmedDataAccessException happens when a DynamoDB Streams consumer tries to read a record that was already evicted by the 24‑hour retention window. The SDK throws this exception with HTTP 400, and GetRecords will not return data until you recreate the iterator inside the retention window.
0 viewsTrimmedDataAccessException: The requested data has...
INTERMEDIATEHIGH
How to fix "UnrecognizedClientException: The security token included in the request is invalid" in DynamoDB
DynamoDB returns UnrecognizedClientException when AWS cannot validate the security credentials (access key, secret key, or session token) used in the request. This authentication error prevents all DynamoDB operations until valid credentials are provided.
0 viewsUnrecognizedClientException: The security token in...
INTERMEDIATEHIGH
How to fix "TransactionCanceledException: Transaction cancelled" in DynamoDB
DynamoDB returns TransactionCanceledException when a TransactWriteItems or TransactGetItems operation fails to complete. This error occurs when one or more items in the transaction cannot be processed due to conflicts, throttling, validation errors, or other constraints.
0 viewsTransactionCanceledException: Transaction cancelle...
INTERMEDIATEMEDIUM
How to fix "GlobalTableNotFoundException: Global Table not found" in DynamoDB
DynamoDB returns GlobalTableNotFoundException when you attempt to perform operations on a global table that doesn't exist or isn't properly configured. This error occurs when referencing a global table name that hasn't been created, is still being replicated across regions, or has been deleted from the global tables configuration.
0 viewsGlobalTableNotFoundException: Global Table not fou...
INTERMEDIATEMEDIUM
How to fix "InvalidExportTimeException: The specified ExportTime is outside of the point in time recovery window" in DynamoDB
DynamoDB returns InvalidExportTimeException when you try to export a table using an ExportTime that falls outside the point-in-time recovery (PITR) retention window. This error occurs with ExportTableToPointInTime API when the specified timestamp is either too old (beyond PITR retention) or in the future.
0 viewsInvalidExportTimeException: The specified ExportTi...
INTERMEDIATEMEDIUM
How to fix "MissingAuthenticationTokenException: Missing Authentication Token" in DynamoDB
DynamoDB returns MissingAuthenticationTokenException when AWS SDK cannot find valid authentication credentials. This error occurs when your application lacks proper AWS credentials configuration, expired tokens, or incorrect region settings.
0 viewsMissingAuthenticationTokenException: Missing Authe...
INTERMEDIATEMEDIUM
How to fix "IdempotentParameterMismatchException: The request parameters for the idempotent operation were not consistent" in DynamoDB
DynamoDB returns IdempotentParameterMismatchException when retrying an idempotent operation with different parameters than the original request. This error protects against unintended data modifications by ensuring retried operations use identical parameters.
0 viewsIdempotentParameterMismatchException: The request ...
ADVANCEDHIGH
How to fix "RequestLimitExceeded: Throughput exceeds the current throughput limit for your account" in DynamoDB
DynamoDB returns RequestLimitExceeded when your application exceeds account-level throughput limits, which apply to all tables in your AWS account. This error occurs when the combined throughput across all DynamoDB tables in your account exceeds AWS-imposed limits, requiring quota management and workload distribution strategies.
0 viewsRequestLimitExceeded: Throughput exceeds the curre...
INTERMEDIATEMEDIUM
Global table already exists
This error occurs when attempting to create a DynamoDB global table with a name that already exists in your AWS account. Global tables require unique names within the same AWS account and cannot be duplicated.
0 viewsGlobalTableAlreadyExistsException: Global Table wi...
INTERMEDIATEMEDIUM
ConditionalCheckFailedException: The conditional request failed
This error occurs when a DynamoDB conditional write operation fails because the specified condition expression evaluated to false. It commonly happens during optimistic locking when the item has been modified by another process, or when custom conditional checks fail.
0 viewsConditionalCheckFailedException: The conditional r...
INTERMEDIATEMEDIUM
BackupInUseException: Backup is being used by another operation
This error occurs when you attempt to perform a backup control plane operation (create, delete, or restore) on a DynamoDB backup that is already involved in another operation. Wait for the current operation to complete before retrying.
0 viewsBackupInUseException: Backup is being used by anot...
INTERMEDIATEHIGH
TableNotFoundException: Table not found in DynamoDB
This error occurs when your application tries to access a DynamoDB table that doesn't exist, isn't in an ACTIVE state, or is in a different AWS region. The most common causes are typos in the table name, wrong region configuration, or the table still being created.
0 viewsTableNotFoundException: Table not found
INTERMEDIATEMEDIUM
BackupNotFoundException: Backup not found
This error occurs when you attempt to access or restore a DynamoDB backup using a BackupARN that does not exist, has been deleted, or is in a different AWS region. Verify the backup exists and the ARN is correct before attempting operations.
0 viewsBackupNotFoundException: Backup not found
INTERMEDIATEHIGH
How to fix "ValidationException: One or more parameter values were invalid" in DynamoDB
DynamoDB ValidationException occurs when your request contains invalid parameter values, such as empty strings, type mismatches, missing required keys, or incorrect attribute definitions. This validation happens before the operation executes.
0 viewsValidationException: One or more parameter values ...
INTERMEDIATEMEDIUM
How to fix "PointInTimeRecoveryUnavailableException: Point in time recovery is not enabled on the table" in DynamoDB
This error occurs when attempting to restore a DynamoDB table from a point-in-time backup, but Point-in-Time Recovery (PITR) is not enabled on the source table. PITR must be explicitly enabled to create continuous backups and allow restoration to any point in time within the retention period.
0 viewsPointInTimeRecoveryUnavailableException: Point in ...
INTERMEDIATEMEDIUM
How to fix "ThrottlingException: Rate exceeded" in DynamoDB
DynamoDB returns ThrottlingException when your request rate exceeds the allowed throughput for your table, index, or account limits. This error occurs with both provisioned and on-demand capacity modes when you send too many requests too quickly.
0 viewsThrottlingException: Rate exceeded
ADVANCEDHIGH
TransactionInProgressException: The transaction with the given request token is already in progress
This error occurs when you submit a DynamoDB transaction (TransactWriteItems or ExecuteTransaction) using a client request token that is already being used by an ongoing transaction. It indicates a duplicate transaction attempt within the 10-minute idempotency window.
0 viewsTransactionInProgressException: The transaction wi...
INTERMEDIATEHIGH
Fix "TransactionConflictException: Operation failed due to a conflict with another request" in DynamoDB
DynamoDB raises this error when your transaction or item-level write collides with another request touching the same key, so it rejects the new operation to keep the data consistent.
0 viewsTransactionConflictException: Operation failed due...
INTERMEDIATELOW
How to fix "ExportNotFoundException: The specified export was not found" in DynamoDB
DynamoDB returns ExportNotFoundException when you try to access or describe an export that does not exist, has been deleted, or is in a different region. This error occurs with the ExportTableToPointInTime API when referencing exports by their Amazon Resource Name (ARN) or export ID.
0 viewsExportNotFoundException: The specified export was ...
INTERMEDIATEMEDIUM
How to fix "ImportNotFoundException: The specified import was not found" in DynamoDB
DynamoDB returns ImportNotFoundException when you try to access or describe an import job that does not exist, has been deleted, or is in a different region. This error occurs with import operations like importing data from S3 into DynamoDB tables when referencing imports by their Amazon Resource Name (ARN) or import ID.
0 viewsImportNotFoundException: The specified import was ...
INTERMEDIATEHIGH
How to fix "AccessDeniedException: User is not authorized" in DynamoDB
This error occurs when your IAM role or user lacks the necessary permissions to perform operations on a DynamoDB table. The fix requires attaching the correct IAM policies with appropriate DynamoDB actions.
0 viewsAccessDeniedException: User is not authorized to p...
ADVANCEDHIGH
How to fix "ItemCollectionSizeLimitExceededException: Item collection size limit of 10 GB exceeded" in DynamoDB
DynamoDB returns ItemCollectionSizeLimitExceededException when a local secondary index (LSI) or table partition exceeds the 10 GB size limit for item collections. This occurs when too much data accumulates under a single partition key value, requiring data redistribution or archival strategies.
0 viewsItemCollectionSizeLimitExceededException: Item col...
INTERMEDIATEMEDIUM
Test: How to fix TableInUseException in DynamoDB
Test summary
0 viewsTableInUseException: A table operation is currentl...
ADVANCEDHIGH
How to fix "ItemCollectionSizeLimitExceededException: Collection size exceeded" in DynamoDB
DynamoDB returns ItemCollectionSizeLimitExceededException when an item collection exceeds the 10 GB size limit. This occurs when too much data accumulates under a single partition key value, requiring data redistribution, archival, or partition key redesign to resolve.
0 viewsItemCollectionSizeLimitExceededException: Collecti...
INTERMEDIATEMEDIUM
How to fix 'ExportConflictException: There was a conflict when writing to the specified S3 bucket' in DynamoDB
This error occurs when AWS DynamoDB encounters conflicts while exporting table data to Amazon S3. Conflicts typically arise from concurrent export jobs, S3 bucket permission issues, or existing files in the target location. The export operation fails, preventing data backup or migration.
0 viewsExportConflictException: There was a conflict when...
INTERMEDIATEMEDIUM
How to fix "TableInUseException: A table operation is currently in progress" in DynamoDB
DynamoDB returns TableInUseException when you try to modify a table while another operation is already in progress on that table. This error occurs during concurrent CreateTable, UpdateTable, or DeleteTable operations on the same DynamoDB table.
0 viewsTableInUseException: A table operation is currentl...
INTERMEDIATEMEDIUM
How to fix "LimitExceededException: Subscriber limit exceeded" in DynamoDB
DynamoDB returns LimitExceededException when you exceed the concurrent control plane operation limits. This error occurs when trying to create, update, or delete more than 10 tables simultaneously, or when the cumulative total of tables and indexes in CREATING, UPDATING, or DELETING state exceeds 500.
0 viewsLimitExceededException: Subscriber limit exceeded
INTERMEDIATEMEDIUM
How to fix "ReplicaAlreadyExistsException" in DynamoDB
This error occurs when you attempt to add a replica to a DynamoDB global table in a region where one already exists. Each global table can only have one replica per AWS region. Resolve this by checking existing replicas or removing orphaned ones before recreating.
0 viewsReplicaAlreadyExistsException: Replica already exi...
INTERMEDIATEHIGH
How to fix "ExpiredIteratorException: The shard iterator has expired" in DynamoDB
The shard iterator used to read DynamoDB Streams has expired after 15 minutes of inactivity. You need to obtain a fresh shard iterator before making subsequent GetRecords requests.
0 viewsExpiredIteratorException: The shard iterator has e...
INTERMEDIATEHIGH
How to fix "InvalidRestoreTimeException: An invalid restore time was specified" in DynamoDB
This error occurs when attempting a point-in-time restore in DynamoDB with a restore timestamp that falls outside the valid recovery window. The specified restore time must be between EarliestRestorableDateTime and LatestRestorableDateTime, which is typically the last 35 days but always excludes the last 5 minutes.
0 viewsInvalidRestoreTimeException: An invalid restore ti...
INTERMEDIATEHIGH
How to fix "IncompleteSignatureException" in DynamoDB
The IncompleteSignatureException occurs when AWS DynamoDB receives a request with an invalid or incomplete signature. This typically happens due to incorrect AWS credentials, misconfigured signing parameters, or system time misalignment. Fixing this requires validating your credentials and ensuring proper SigV4 signing.
0 viewsIncompleteSignatureException: The request signatur...
INTERMEDIATEHIGH
How to fix 'ProvisionedThroughputExceededException' in DynamoDB
This error occurs when your application's request rate exceeds the read or write capacity units (RCU/WCU) provisioned for your DynamoDB table. DynamoDB will reject excess requests with throttling, causing failures in your application.
0 viewsProvisionedThroughputExceededException: The level ...
INTERMEDIATEHIGH
How to fix "ReplicaNotFoundException: Replica not found in the global table" in DynamoDB
The ReplicaNotFoundException occurs when you try to perform operations on a DynamoDB global table replica that doesn't exist or has been removed from the replication group. This error happens when referencing a replica region that's not configured in the global table or when the replica is in an inaccessible state.
0 viewsReplicaNotFoundException: Replica not found in the...
BEGINNERMEDIUM
How to fix "ContinuousBackupsUnavailableException" in DynamoDB
Point-in-time recovery (PITR) is disabled on your DynamoDB table. You must enable continuous backups before you can restore to a specific point in time.
0 viewsContinuousBackupsUnavailableException: Continuous ...
INTERMEDIATEMEDIUM
How to fix 'TableAlreadyExistsException: Table already exists' in DynamoDB
This error occurs when attempting to create a DynamoDB table with a name that already exists in your AWS account or region. Common causes include duplicate creation attempts, insufficient cleanup after table deletion, and issues with replicated tables across regions.
0 viewsTableAlreadyExistsException: Table already exists
INTERMEDIATEHIGH
How to fix 'ResourceInUseException: Resource already exists' in DynamoDB
The 'ResourceInUseException: Resource already exists' error occurs when you attempt to create a DynamoDB table, index, or import with a name that already exists. This typically happens in CI/CD deployments, infrastructure-as-code tools, or when redeploy scripts don't check for existing resources.
0 viewsResourceInUseException: Resource already exists
INTERMEDIATEMEDIUM
How to fix 'Unable to load the AWS SDK' in DynamoDB Local
This error occurs when DynamoDB Local starts but cannot load the AWS SDK for Node.js library. It typically indicates missing dependencies, incorrect Node.js versions, or misconfigurations with AWS SDK v2 vs v3 compatibility.
0 viewsDynamoDB Local: Unable to load the AWS SDK for Nod...