Giter Site home page Giter Site logo

slack-machine crashes with error wrong value type for field "topic.creator" - should be "str" instead of value "None" about slack-machine HOT 4 CLOSED

dondebonair avatar dondebonair commented on May 16, 2024
slack-machine crashes with error wrong value type for field "topic.creator" - should be "str" instead of value "None"

from slack-machine.

Comments (4)

michaelbutler avatar michaelbutler commented on May 16, 2024

When looking through slack API docs, I'm wondering if this could happen when the user who initially setTopic
on the conversation or channel is a deleted user. I mean it probably still should be empty string "" but for whatever reason maybe they returned null or not anything at all.

from slack-machine.

DonDebonair avatar DonDebonair commented on May 16, 2024

Yep, that could be it. In any case, the fix it easy. I'll make the creator optional.

from slack-machine.

drdarina avatar drdarina commented on May 16, 2024

Has this been fixed? I'm also getting the same error

from slack-machine.

eguven avatar eguven commented on May 16, 2024

I'm wondering if this could happen when the user who initially setTopic on the conversation or channel is a deleted user.

@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 None).

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 None. 🤷‍♂️

from slack-machine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.