Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

ValueError: Object 'EXCLUDE' is not a valid value for the 'unknown' parameter #110

Description

@Cyb3rFl3x

I'm not quite sure why the example code from dynamorm documentation is not working...

  1. installed marshmallow & dynamorm
  2. i copied you example code
  3. i setup a dynamodb on aws
  4. I got the following error (ValueError: Object 'EXCLUDE' is not a valid value for the 'unknown' parameter)

Seems like the error is coming from the SchemaMeta class of Marshmallow (see: line 393 in marshmallow/schema.py)
It always jumps inside the validate_unknown_parameter_value function. Even if i use predefined unknown vars from Marshmallow documentation... Some one of you have maybe an idea?

self.unknown = (
   self.opts.unknown
   if unknown is None
   else validate_unknown_parameter_value(unknown)
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions