Closed ThePoShWolf closed 2 years ago
If an action could not be completed, the method will return None.
You cant iterate None, so you are getting such error.
The best option for you is to confirm that the client.error is empty, then execute the for, otherwise print the client.error_description in order to know why the call failed.
Oh yeah, I'm aware that none can't be iterated. Let me run a few tests and check client.error and I'll report back.
Hehe, I obviously didn't get back to that and I no longer even work for the company that I was writing that for. Sorry about the no follow up!
This seems to be happening more and more frequently, but I have a python script running in a Github Action. Here's the relevant section:
And it is frequently throwing the following error:
If I rerun it without any changes, it will eventually work.
How can I troubleshoot this?