Slack Spoke integration error message 401 (SOLVED)

Antonio42
Kilo Guru

Team, after set up the connection and credencial from servicenow and also set up scope entries from slack workspace I got an error message 401 as not authorized trying to retrieve the token. I double checked the client id and client secret but no luck so far. Any tip or anyone who already set up this?

1 ACCEPTED SOLUTION

Antonio42
Kilo Guru

Team, the Token URL mentioned in the Servicenow documentation is not correct. Find below the correction that needs to be done, I have already sent to Servicenow a feedback:

https://docs.servicenow.com/bundle/newyork-servicenow-platform/page/administer/integrationhub-store-spokes/task/set-up-slack.html#set-up-slack

Wrong: https://slack.com/api/oauth_access

Correct: https://slack.com/api/oauth.access

View solution in original post

7 REPLIES 7

Aman, I really don't know how to perform this. I recommend you to raise a case directly to Slack support requesting any guidance from them since the Servicenow documentation does not mention nothing about this.

Thanks Antonio.

The response i got from support is to set the token expiration to a large value.

I am running into another issue which is below

- When i click on Get OAuth, the system redirects to Slack and generates the token correctly.

-The issue is that any calls that are done from Slack Spoke are now done as the user who i generated the OAuth token so that user is added to all the channels.

Have you run into such  issue and any suggestions so that we the user is not  always added to the channel?

Thanks

Aman

 

 

 

 

 

 

Runjay Patel
Giga Sage

Watch this video for Slack integration steps by step configuration. Post message on slack channel via flow designer.

https://www.youtube.com/watch?v=YEGLJLubCCY&t=1s&ab_channel=ServiceNowHelpdesk

 

Please mark reply as Helpful/Correct, if applicable. Thanks!!