Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bsarrade opened this issue Jul 17, 2024 · 0 comments
Open

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

bsarrade opened this issue Jul 17, 2024 · 0 comments

Comments

@bsarrade
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant