Skip to content

start_campaign: error appear with id_in filter #368

@nicolasGibaud7

Description

@nicolasGibaud7

The following error appear after using start_campaign method on a campaign which use id_in filter :

mbed_cloud.exceptions.CloudValueError: (400) 'None' Invalid key 'id__in' for filter attribute; must be one of:
dict_keys(['account_id', 'bootstrapped_timestamp', 'created_at', 'custom_attributes', 'deployed_state', 'last_deployment', 'description', 'device_class', 'id', 'manifest_url', 'mechanism', 'mechanism_url', 'name', 'host_gateway', 'device_type', 'serial_number', 'state', 'updated_at', 'vendor_id', 'alias', 'bootstrap_certificate_expiration', 'certificate_fingerprint', 'certificate_issuer_id', 'connector_certificate_expiration', 'device_execution_mode', 'firmware_checksum', 'manifest_timestamp', 'claimed_at'])

But on the Pelion portal, it's possible to start that campaign and to update filtered device firmware.

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