(Edited)
I poked around a little bit and found the culprit: webFeeds
in folders
in NetNewsWire are sometimes not accessible in scripting, resulting in an error for any operation regarding an article in those feeds. I just filed a bug report at NNW’s GitHub repo.