Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when running - dtm monitor list #2

Open
hzmndt opened this issue Jan 29, 2024 · 0 comments
Open

error when running - dtm monitor list #2

hzmndt opened this issue Jan 29, 2024 · 0 comments

Comments

@hzmndt
Copy link

hzmndt commented Jan 29, 2024

<<<>>

Traceback (most recent call last):
File "/Users/user/google/maapi/bin/dtm", line 8, in
sys.exit(dtm())
^^^^^
File "/Users/user/google/maapi/lib/python3.11/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/user/google/maapi/lib/python3.11/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/user/google/maapi/lib/python3.11/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/user/google/maapi/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/user/google/maapi/lib/python3.11/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/user/google/maapi/src/maapi/utils/cli/dtm_cli.py", line 100, in monitor
get_print_monitors(client, limit=limit, monitor_id=monitorid)
File "/Users/user/google/maapi/src/maapi/utils/cli/dtm_cli.py", line 48, in get_print_monitors
print_monitor_list(items)
File "/Users/user/google/maapi/src/maapi/utils/cli/dtm_cli.py", line 63, in print_monitor_list
if item['email_notify_enabled']:
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'email_notify_enabled'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant