IoTFleetWise / Client / exceptions / DecoderManifestValidationException

DecoderManifestValidationException#

class IoTFleetWise.Client.exceptions.DecoderManifestValidationException#

The request couldn’t be completed because it contains signal decoders with one or more validation errors.

Example

try:
  ...
except client.exceptions.DecoderManifestValidationException as e:
  print(e.response)
response#

The parsed error response. All exceptions have a top level Error key that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.

Syntax

{
    'invalidSignals': [
        {
            'name': 'string',
            'reason': 'DUPLICATE_SIGNAL'|'CONFLICTING_SIGNAL'|'SIGNAL_TO_ADD_ALREADY_EXISTS'|'SIGNAL_NOT_ASSOCIATED_WITH_NETWORK_INTERFACE'|'NETWORK_INTERFACE_TYPE_INCOMPATIBLE_WITH_SIGNAL_DECODER_TYPE'|'SIGNAL_NOT_IN_MODEL'|'CAN_SIGNAL_INFO_IS_NULL'|'OBD_SIGNAL_INFO_IS_NULL'|'NO_DECODER_INFO_FOR_SIGNAL_IN_MODEL'|'MESSAGE_SIGNAL_INFO_IS_NULL'|'SIGNAL_DECODER_TYPE_INCOMPATIBLE_WITH_MESSAGE_SIGNAL_TYPE'|'STRUCT_SIZE_MISMATCH'|'NO_SIGNAL_IN_CATALOG_FOR_DECODER_SIGNAL'|'SIGNAL_DECODER_INCOMPATIBLE_WITH_SIGNAL_CATALOG'|'EMPTY_MESSAGE_SIGNAL',
            'hint': 'string'
        },
    ],
    'invalidNetworkInterfaces': [
        {
            'interfaceId': 'string',
            'reason': 'DUPLICATE_NETWORK_INTERFACE'|'CONFLICTING_NETWORK_INTERFACE'|'NETWORK_INTERFACE_TO_ADD_ALREADY_EXISTS'|'CAN_NETWORK_INTERFACE_INFO_IS_NULL'|'OBD_NETWORK_INTERFACE_INFO_IS_NULL'|'NETWORK_INTERFACE_TO_REMOVE_ASSOCIATED_WITH_SIGNALS'|'VEHICLE_MIDDLEWARE_NETWORK_INTERFACE_INFO_IS_NULL'
        },
    ],
    'message': 'string',
    'Error': {
        'Code': 'string',
        'Message': 'string'
    }
}

Structure

  • (dict) –

    The request couldn’t be completed because it contains signal decoders with one or more validation errors.

    • invalidSignals (list) –

      The request couldn’t be completed because of invalid signals in the request.

      • (dict) –

        A reason that a signal decoder isn’t valid.

        • name (string) –

          The name of a signal decoder that isn’t valid.

        • reason (string) –

          A message about why the signal decoder isn’t valid.

        • hint (string) –

          The possible cause for the invalid signal decoder.

    • invalidNetworkInterfaces (list) –

      The request couldn’t be completed because of invalid network interfaces in the request.

      • (dict) –

        A reason a vehicle network interface isn’t valid.

        • interfaceId (string) –

          The ID of the interface that isn’t valid.

        • reason (string) –

          A message about why the interface isn’t valid.

    • message (string) –

    • Error (dict) – Normalized access to common exception attributes.

      • Code (string) – An identifier specifying the exception type.

      • Message (string) – A descriptive message explaining why the exception occured.