Posting an entry from IBM Social Business Toolkit playground to on premises Connections

StackOverflow https://stackoverflow.com/questions/18226532

  •  24-06-2022
  •  | 
  •  

Question

I am trying to post entry to community activity stream from IBM Social Business toolkit playground (Domino 9, SBT SDK version 20130602) to on premises Connections install. I am using the playground's existing JavaScript snippets but changed the communityID to match to community UUID in my Connections install. I don't have the OAuth2 configured.

I get an error "Error code:403, message:You are not authorized to perform the requested action."

I am able to get data from Connections. For example "Get Updates From A Community" -snippet works. But I am not able to post anything to Connections.

Do I need a working OAuth2 to be able to post entries or is there something else what prevents posting entries to Connections activity streams?

I tried to add a role to my account according to this post Which J2EE Role need to be enabled to post in the Activity Stream of other user but it did not seem to have an effect.

Was it helpful?

Solution

I was able to get the post entry working. The issue seems to be the browser what I used.

Posting entry did not work with Chrome but with Firefox everything worked as expected. So there seems to be some problems with Chrome and posting entries from the playground. Getting data from Connections works also with Chrome.

OTHER TIPS

Are you prompted for basic authentication (either basic auth or OAuth would would work)? Or are you just accessing public communities? Can you try to go to the authentication snippets, log in if not already (basic auth),and try the snippet again? If you still have a 403, it might be because your user doesn't have enough rights.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top