Skip to content

Error-Messages include a recommendation to --verbose parameter which don't exists #758

@RobinGummels

Description

@RobinGummels

When I ran the following command:

python -m stac_api_validator --root-url "http://localhost:3000/" --conformance core --conformance collections --collection MyCollection

I get Error-Messages like:

- [Collections] : GET http://localhost:3000/collections failed stac-validator validation: 
[{'version': '1.0.0', 
'path': '', 
'schema': ['https://schemas.stacspec.org/v1.0.0/collection-spec/json-schema/collection.json'], 
'valid_stac': False, 
'error_type': 'JSONSchemaValidationError', 
'error_message': "'id' is a required property", 
'failed_schema': 'https://schemas.stacspec.org/v1.0.0/collection-spec/json-schema/collection.json', 
'recommendation': 'For more accurate error information, rerun with --verbose.'}]

And under recommendation stand's explicitly I can ran the the Validator again --verbose. But when I do so I get this Error:

python -m stac_api_validator --root-url "http://localhost:3000/" --conformance core --conformance collections --collection MyCollection --verbose
Usage: stac-api-validator [OPTIONS]
Try 'stac-api-validator --help' for help.

Error: No such option: --verbose Did you mean --version?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions