Skip to content

Invalid inputs given to generate an instance of 'MoBaseMo' #51

Description

@bsarrade

Having trouble using the claim_targets.py and receiving the following error:

Intersight Exception: Invalid inputs given to generate an instance of 'MoBaseMo'. The input data was invalid for the allOf schema 'MoBaseMo' in the composed schema 'AssetDeviceClaim'. Error=Cannot deserialize input data due to invalid discriminator value. The OpenAPI document has no mapping for discriminator property 'ClassId'='' at path: ['received_data', 'permission_resources', 0]

However, the claim is actually still successful in Intersight, I'm just getting a non-zero exit code.

•	Api key == v3
•	Python == 3.11.9
•	intersight == 1.0.11.17412

This script actually worked quite well for me sometime in the past, but revisiting it and seems now I'm getting the above error. Is there some change to the API or other tweak I'm missing?

Activity

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions