-
Issue: Failed to run the program. I tried running the program with, poetry run gala alarm list The error I got: AttributeError: 'NoneType' object has no attribute 'href' Logging the EndpointConfig(endpoint=None, dto_list=<class 'gallagher.dto.response.alarm.AlarmSummaryResponse'>, dto_retrieve=<class
'gallagher.dto.detail.alarm.AlarmDetail'>, top=10, sort='id', fields=(), search=()) I identified that the issue in the code is from I have not set the api key before running the program. I guess this might be because the api key is not set. Question: @devraj do you think this might be related to the missing API? Also, how to get the api key |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I am pretty certain it is due to the missing API Key. In saying that the completed utility should raise proper error messages for the end user. If you follow the The endpoints are
You require a Gallagher Command Centre to actually use the utility as its intention is an extension to the REST API that they expose. For this project we run the tests and utilities against a test command centre that we manage. In the near future we intend to:
A solution would be to create a |
Beta Was this translation helpful? Give feedback.
I am pretty certain it is due to the missing API Key. In saying that the completed utility should raise proper error messages for the end user. If yo…