Hi,
I created a Slack app and added it to the collaboration section of Cognos. When I press the 'Test' button, I see the Slack popup asking me for permission, but when I grant that, Cognos gives a warning: 'Failed while trying to authenticate.' The collaboration platform is still visible in the share fly-out, but gives a full error: "Cannot share message on Slack Integration: Failed while trying to authenticate."
In the debug window I can see a call to :
https://OurServer/ibmcognos/bi/v1/collaboration/providers/slack/abignumber/workspaces/asecretnumber/meAnd the content of the result is (scrambled):
{
"authState": "abignumber",
"clientId": "client.id",
"ok": false,
"error": "token_invalid",
"authScope": "mpim:write,chat:write:user,files:write:user,channels:read,users:read,groups:read,im:read",
"workspaceUrl": "oursecretworkspace"
}
Our server is not reachable from the Internet but the documentation does not mention that to be an issue. I did follow the
slack and
cognos tutorials, so am not sure where the mistake is I made. Any help would be appreciated.
------------------------------
Reinier Battenberg
------------------------------
#CognosAnalyticswithWatson