Skip to content

List type values for properties keys cannot exceed a lenght of127 #527

@wachsylon

Description

@wachsylon

Describe the bug
When ingesting, list type values for properties keys cannot exceed a lenght of 127

To Reproduce
When trying to ingest STAC items with list values for properties keys that have a length >127, we get the very misleading error message:

ValueError: Error ingesting item for collection cordex-cmip6-eur-12-clmcom-btu-icon-clm-202407-1-1-cnrm-esm2-1-historical-r1i1p1f2-v1-r1. Message: {"code":"BadRequestError","description":"BadRequestError(400, 'document_parsing_exception', 'Failed to parse object: expecting token of type [VALUE_NUMBER] but found [VALUE_STRING]')"}

Expected behavior
No restrictions on the length of lists.

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