Skip to content

接口调用报错 #10

@ciyechenlun

Description

@ciyechenlun

File "claude.py", line 30, in chat
await client.open_channel()
File "/iflytek/server/claude-in-slack-api-master/slack.py", line 27, in open_channel
response = await self.conversations_open(users=CLAUDE_BOT_ID)
File "/usr/local/python3/lib/python3.8/site-packages/slack_sdk/web/async_client.py", line 2684, in conversations_open
return await self.api_call("conversations.open", params=kwargs)
File "/usr/local/python3/lib/python3.8/site-packages/slack_sdk/web/async_base_client.py", line 161, in api_call
return await self._send(
File "/usr/local/python3/lib/python3.8/site-packages/slack_sdk/web/async_base_client.py", line 201, in _send
return AsyncSlackResponse(**{**data, **res}).validate()
File "/usr/local/python3/lib/python3.8/site-packages/slack_sdk/web/async_slack_response.py", line 203, in validate
raise e.SlackApiError(message=msg, response=self)
slack_sdk.errors.SlackApiError: The request to the Slack API failed. (url: https://www.slack.com/api/conversations.open)
The server responded with: {'ok': False, 'error': 'invalid_auth'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions