-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
slack-machine crashes with error wrong value type for field "topic.creator" - should be "str" instead of value "None" #397
Comments
When looking through slack API docs, I'm wondering if this could happen when the user who initially setTopic |
Yep, that could be it. In any case, the fix it easy. I'll make the creator optional. |
Has this been fixed? I'm also getting the same error |
@michaelbutler I checked. It was happening on a shared channel where the user who most recently set the topic was still active member of our workspace (so no reason for the value to be I think in our case, the person who setTopic before (member of the other Org) did so prior to sharing the channel and this causes the |
Hi, I'm trying to test out slack-machine. I'm on Python 3.7 with latest version installed:
Version: 0.20.1
.I only have the HelloPlugin enabled, when I run slack-machine in DEBUG mode I see a lot of API requests going through successfully, it appears to be paginating through channels and users and conversations, however it always gets to this point and crashes with error:
I'm guessing this is a simple case of the Slack API returning something that we didn't expect, so I guess
slack-machine
must be made to treattopic.creator
asNone
or even handling the fact that it might not exist. If you have any ideas how I could fix this locally please let me know.The text was updated successfully, but these errors were encountered: