I've looked at the code in this section, and also reviewed some old support tickets. I think what is happening here is that you have bad episode data in My Movies.
I've seen that sometimes My Movies will have episodes listed that are no longer valid. My Movies will have an ID for an episode that no longer is valid, and when CCC tries to reference that ID via the API, bad data is returned. When this occurs, we've been able to fix this by deleting and re-adding the entire TV series.
So that would be my first recommendation, to try and delete and re-add the TV series.
Most likely, the problem only exists with this one show. When the error happens, it is failing the entire TV Series export loop, so all shows after this point fail to export too. I think this is why you're missing so many shows.
If you would like to do some more investigation first, then there is a setting you can turn on in CCC to show the API URL's:
Settings > My Movies API Authentication > Show My Movies API Calls:
![image.png](./download/file.php?id=1984&sid=8aa22138580a19dbaf437cc9fd2508ea)
- image.png (117.09 KiB) Viewed 1754 times
After enabling the above, repeat the Full Export test with "Demashitaa! Powerpuff Girls Z" in the filter box. The log output will now include the URL's that CCC is calling to access the My Movies API. Whichever call is last, right before the error, copy and paste that into a browser window on the same PC, and see what output you get (and feel free to share it with me). It will probably be some type of error message that the data can't be accessed or something like that.
Meanwhile, I'm working on the next version of CMC/CCC, and I'll improve the logging around this section to hopefully provide more meaningful error messages in the future.