Skip to content

map command is not working anymore #1246

@uolter

Description

@uolter

I used in the past the map command to update the list of accounts in the athena view account_map in the cid_cur database.
I am using the version 4.2.7 of the command but I also tried the version 0.3.10 and versions in between.

The command I run is:

cid-cmd map --account-map-source organization --region eu-west-1

The error I got is in the attached file.
Basically is something related to jmespath

  File "/Users/walter.traspadini/src/pagopa/cudos/.venv/lib/python3.13/site-packages/jmespath/functions.py", line 111, in _type_check_single
    raise exceptions.JMESPathTypeError(
        function_name, current,
        self._convert_to_jmespath_type(actual_typename), types)
jmespath.exceptions.JMESPathTypeError: In function contains(), invalid type for value: None, expected one of: ['array', 'string'], received: "null"

error.txt

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