DEBUG:pynYNAB:POST-ing ... {'request_data': '{"device_info": {"id": "..."}, "password": "...", "remember_me": true, "email": "..."}', 'operation_name': 'loginUser'}
DEBUG:pynYNAB:POST-ing ... {'request_data': '{"starting_device_knowledge": 0, "ending_device_knowledge": 0, "changed_entities": {}, "device_knowledge_of_server": 0}', 'operation_name': 'syncCatalogData'}
ERROR:pynYNAB:Encountered field feature_flags in a dictionary to create an entity of type <class 'pynYNAB.catalog.User'>
pynYNAB CSV import
Traceback (most recent call last):
File "/Users/abesto/playground/nYNABapi/pynYNAB/Entity.py", line 69, in obj_from_dict
field = obt.AllFields[key]
KeyError: 'feature_flags'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/abesto/playground/nYNABapi/pynYNAB/scripts/csvimport.py", line 180, in <module>
csvimport_main()
File "/Users/abesto/playground/nYNABapi/pynYNAB/scripts/csvimport.py", line 43, in csvimport_main
do_csvimport(args)
File "/Users/abesto/playground/nYNABapi/pynYNAB/scripts/csvimport.py", line 48, in do_csvimport
client = clientfromargs(args)
File "/Users/abesto/playground/nYNABapi/pynYNAB/Client.py", line 14, in clientfromargs
client = nYnabClient(connection, budget_name=args.budgetname)
File "/Users/abesto/playground/nYNABapi/pynYNAB/Client.py", line 41, in __init__
self.sync()
File "/Users/abesto/playground/nYNABapi/pynYNAB/Client.py", line 55, in sync
self.catalog.sync(self.connection, 'syncCatalogData')
File "/Users/abesto/playground/nYNABapi/pynYNAB/roots.py", line 34, in sync
obj = obj_from_dict(self.ListFields[name].type, entityDict)
File "/Users/abesto/playground/nYNABapi/pynYNAB/Entity.py", line 72, in obj_from_dict
raise ValueError()
ValueError
Fixes this exception: