Skip to content

users.profile.set leads to encoding issue #206

Description

@plaetzchen

Description

When using SlackClient to call users.profile.set I get a invalid_profile error which is documented as a missing URL encoding of the payload.

What type of issue is this? (place an x in one of the [ ])

  • bug
  • enhancement (feature request)
  • question
  • documentation related
  • testing related
  • discussion

Requirements (place an x in each of the [ ])

  • I've read and understood the Contributing guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've searched for any related issues and avoided creating a duplicate issue.

Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

Reproducible in:

slackclient version: 1.0.7

python version: 3.6

OS version(s): macOS 10.12 & AWS Lambda

Steps to reproduce:

  1. Use sc.api_call() to call "users.profile.set" with a valid status_text & status_emoji payload
  2. print() the results
  3. You see a invalid_profile error

Expected result:

Write the profile changes

Actual result:

Getting an error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions