Skip to content

KeyError: 'missing_field' #572

@daviddavis

Description

@daviddavis

When a required field is missing the following error gets raised:

  File "/home/vagrant/devel/pulp-cli/pulpcore/cli/common/openapi.py", line 194, in validate_body
    _("Required field(s) '{missing_field}' missing.").format(
  KeyError: 'missing_field'

Reproduced with pulp deb distribution create --name complex-dists (but any plugin type will work).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Triage-NeededNeeds to be reviewed at next pulp-cli mtgbugSomething isn't working (template-set)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions