Skip to content

ValidationError for "svm" field field within the "lifecycle_management" S3BucketSvm.get_collection #50

Open
@hamidos

Description

@hamidos

I am writing to report a potential issue encountered while using the netapp-ontap library to interact with our ONTAP 9.15.

Issue Description:
When attempting to retrieve a collection of S3BucketSvm objects using the get_collection method, we consistently encounter a NetAppRestError with a nested ValidationError. The error message specifically points to an "Invalid input type" for the svm field within the lifecycle_management rules.

Code Snippet:

buckets = list(S3BucketSvm.get_collection("2f6b0e75-ecbc-11ec-8f1f-d039ea12caf5", fields="**"))

Error Message:

netapp_ontap.error.NetAppRestError: Caused by ValidationError({'lifecycle_management': {'rules': {0: {'svm': {'_schema': ['Invalid input type.']}}, 1: {'svm': {'_schema': ['Invalid input type.']}}, 2: {'svm': {'_schema': ['Invalid input type.']}}}}})

Did anyone encounter the same issue ?

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