Skip to content

KeyError #1

@bobbyhathi

Description

@bobbyhathi

Hi Sam, I get the following error when running the script

Traceback (most recent call last):
File "FMCACPMain.py", line 368, in
element['PLC_ID'], '/accessrules/', element['OBJECT_ID'], element['TAG_NAME'], element['PLC_NAME'])
File "FMCACPMain.py", line 278, in getACLDetails
pairingList = [element['protocol'], element['port']]
KeyError: 'port'

Can you please check and let me know what I need to do to fix it.

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions