Skip to content

[Bug] List of wrong error types, wrong error messages, and missing validations #108

Closed

Description

@RossWilliams

Describe the bug

There are about 100 validation differences I found between DynamoDB and ExtendDB for validations and error messages and codes.

I had an LLM pull my DynamoDB parity tests out of u19r/aux-storage, mainly https://github.com/u19r/aux-storage/tree/main/crates/storage-api/src/routes and adjacent _test files and run them against ExtendDB and write up all conditions and failure in a markdown document.

dynamodb-error-parity.md

Most of the issues are slight mis-wording, extra information, missing information. There are a class of errors that appear to be due to the order in which validations are run, and there are a set of missing validations where ExtendDB fails to return a 400 error.

To Reproduce

Table rows include the operation to run, the payload, the expected output payload, the ExtendDB payload, and an LLM generated note.

Expected behavior

ExtendDB replicates DynamoDB behaviour

Actual behavior

There remain inconsistencies in the 400 errors and some validations remain uncaught.

Environment

  • ExtendDB version: 0.1.0
  • Operating system: macOS 26
  • Rust version (if building from source): 1.94
  • Client SDK/driver and version: CLI
  • Deployment method (binary, container, source): source

Additional context

If a standalone test suite crate would be helpful to you I can refactor my tests to pull together all dynamodb conformance tests in a new crate.

Checklist

  • I have searched existing issues for duplicates
  • I have included the ExtendDB version and environment details
  • I can reproduce this with the latest release

Activity

  1. LeeroyHannigan commented on Oct 25, 2026

    @LeeroyHannigan
    Collaborator

    Status of the attachment's rows against main (744ea29) and the open PRs, from reading the code:

    Fixed on main:

    Tracked in other issues:

    Still differing on main: the update expression structure checks (duplicate sections, overlapping paths, nested functions), the Requested resource not found: Table: <name> not found text, GetItem with a wrong key type answering the PutItem text, the 1 validation error detected: prefix on UpdateItem and PutItem expression errors, and the operand and function placement messages. The TransactGetItems and TransactWriteItems validation order rows were not traced here; #399 changes that order.

  2. added this to the 1.0 milestone on Oct 28, 2026
  3. navareamol commented on Oct 29, 2026

    @navareamol
    Collaborator

    This is already fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions