python-aggcat icon indicating copy to clipboard operation
python-aggcat copied to clipboard

Accountlist object should be iterable

Open kevinmanncito opened this issue 10 years ago • 3 comments

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?

kevinmanncito avatar Jun 10 '15 14:06 kevinmanncito

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.

glenbot avatar Jun 10 '15 17:06 glenbot

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.

kevinmanncito avatar Jun 10 '15 18:06 kevinmanncito

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.

kevinmanncito avatar Jun 16 '15 20:06 kevinmanncito