You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom fieldset values are not required unless mapping Kandji data to Snipe-IT custom fields
I am not mapping custom fields, we dont use any.
After configuring settings.conf and running kandji2snipe I get errors for custom fields:
First it was:
if config['snipe-it']['mac_custom_fieldset_id'] != "":
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/configparser.py", line 1273, in __getitem__
raise KeyError(key)
I added the field to settings.conf and now I am getting:
for key in config['mac-api-mapping']:
~~~~~~^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Cellar/[email protected]/3.11.5/Frameworks/Python.framework/Versions/3.11/lib/python3.11/configparser.py", line 979, in __getitem__
raise KeyError(key)
Am I missing some config in the script?
The text was updated successfully, but these errors were encountered:
@gohv Sorry about that, I will get some logic added to the script to not require the fields when custom mapping is not used. For the time being, you can add the following lines to your settings.conf file to avoid the validation errors. No need to add any values.
Hello!
In the settings.conf.example its stated that custom fields are not required unless
I am not mapping custom fields, we dont use any.
After configuring settings.conf and running kandji2snipe I get errors for custom fields:
First it was:
I added the field to settings.conf and now I am getting:
Am I missing some config in the script?
The text was updated successfully, but these errors were encountered: