python-aggcat
python-aggcat copied to clipboard
Accountlist object should be iterable
We are getting errors come in on Sentry where we try and iterate over the accounts in an Accountlist on discover accounts and confirm challenge and the Accountlist object is not iterable. Any ideas why that could be happening? Is it possible Intuit isn't consistent with how they send back data?
That could be it. There have been somes issue with the XML parser in the past too. It's hard to tell what is happening in the XML to OBJECT interpretation under the hood without the XML causing the issue. This is igniting the fire under me to release the JSON version of the API which is about 1/2 done.
That would be great, in the meantime Ill take a closer at the current issue here and see if I can figure out exactly what is happening.
If it helps anything the accountlist that isn't iterable almost always comes back on the confirm challenge call. Only a couple of times has it come through wrong in the discover accounts.