Skip to content

Error: Got unexpected extra arguments is printed when running the sample command stac-api-validator, on Windows #629

@thehoanguyen

Description

@thehoanguyen

Dears,
Anyone has encountered the following error:
I install the stac-api-validator version 0.6.4 on Windows 11, and Python 3.10.11.
Running the sample command encounters the error "Got unexpected extra arguments".

The same command works when trying on Ubuntu.

stac-api-validator --root-url https://planetarycomputer.microsoft.com/api/stac/v1/ --conformance core --conformance features --conformance item-search --collection sentinel-2-l2a --geometry '{"type": "Polygon", "coordinates": [[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]]]}'
Usage: stac-api-validator [OPTIONS]
Try 'stac-api-validator --help' for help.
Error: Got unexpected extra arguments (Polygon, coordinates: [[[100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]]]}')

Thank you for your support !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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