Perondas opened a new issue, #254: URL: https://github.com/apache/incubator-answer-plugins/issues/254
After installing the user-center-slack plugin I tried connecting it to my workspace. I gave the Slack app all the required scopes. When I click on the Sync Now button I get a toast with "failed to sync user data". This is accompanied by the following logs: ```text Get user info failed: not_authed answer-1 | 2024-11-22 19:38:55.261 DEBUG user-center-slack/handler.go:59 Get client ID:<SNIP> answer-1 | 2024-11-22 19:38:55.261 DEBUG user-center-slack/handler.go:74 RedirectURL from BuildSlackBaseRedirectURL:https://slack.com/oauth/v2/authorize?client_id=<SNIP>&scope=chat:write,commands,groups:write,im:write,incoming-webhook,mpim:write,users:read,users:read.email&response_type=code&redirect_uri=https://<SNIP>/answer/api/v1/user-center/login/callback&state=<SNIP>=&nonce=<SNIP> answer-1 | 2024-11-22 19:38:56.978 INFO user-center-slack/handler.go:139 start sync slack data answer-1 | 2024-11-22 19:38:56.978 DEBUG user-center-slack/client.go:180 Try to update slack client answer-1 | 2024-11-22 19:38:57.335 ERROR user-center-slack/client.go:162 Failed to get valid user info, Slack API error: not_authed answer-1 | 2024-11-22 19:38:57.335 ERROR user-center-slack/client.go:184 Failed to update user info: Get user info failed: not_authed answer-1 | 2024-11-22 19:38:57.335 ERROR user-center-slack/handler.go:144 list user error: Get user info failed: not_authed ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
