Skip to content
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

接口调用报错 #10

Open
ciyechenlun opened this issue Jun 14, 2023 · 5 comments
Open

接口调用报错 #10

ciyechenlun opened this issue Jun 14, 2023 · 5 comments

Comments

@ciyechenlun
Copy link

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'}

@lysunagopher
Copy link

Hello, I read the last error message: "The server responded with: {'ok': False, 'error': 'invalid_auth'}" This error message is very clear, which means that you submitted an invalid slack token and was blocked by slack Broken, please make sure your token configuration is correct

@ciyechenlun
Copy link
Author

Hello, I read the last error message: "The server responded with: {'ok': False, 'error': 'invalid_auth'}" This error message is very clear, which means that you submitted an invalid slack token and was blocked by slack Broken, please make sure your token configuration is correct

已经解决,参数配置问题,感谢

@QGB
Copy link

QGB commented Jun 15, 2023

手机网页用不了slack,必须下载app

@qcgm1978
Copy link

为什么我安装的Claude app不回答,必须是付费用户吗

Repository owner deleted a comment from lysunagopher Jun 25, 2023
@QGB
Copy link

QGB commented Feb 1, 2024

为什么我安装的Claude app不回答,必须是付费用户吗

https://www.v2ex.com/t/990495

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@qcgm1978 @QGB @ciyechenlun @lysunagopher and others