You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using getstream in react-native application. To add feed activities I am using react-native component "StatusUpdateForm" where I want to target users so that the activity should also display in those targeted user's feed. I looked for way to implement it and after searching on so much time on internet I got some reference to do it. We can add modifyActivityData prop and add "to" properties to add target user ids. Here is my code
After I add activity and hit submit button I am getting following error.
[Error: {"detail":"You do not have permission to do this, you got this error because there are no policies allowing this request on this application. Please consult the documentation https://getstream.io/docs/","status_code":403,"code":17,"exception":"NotAllowedException","duration":"0.17ms","more_info":"https://getstream.io/docs/api_error_responses"} with HTTP status code 403]
To Reproduce
Steps to reproduce the behavior:
Add status update form in stream app.
Use modifyActivityData prop and add "to" property with target user id.
Add activity data and hit on submit button.
Expected behavior
The post should be successfully added and It should also reflect in the targetted user's feed.
Screenshots
Desktop (please complete the following information):
OS: iOS
Device: iPhone13
The text was updated successfully, but these errors were encountered:
Hey Rushu! First nice app idea! Its not a bug- you cant modify another user feed with default permissions.
Check permissions docs
for an explanation on how to change permissions
Describe the bug
I am using getstream in react-native application. To add feed activities I am using react-native component "StatusUpdateForm" where I want to target users so that the activity should also display in those targeted user's feed. I looked for way to implement it and after searching on so much time on internet I got some reference to do it. We can add modifyActivityData prop and add "to" properties to add target user ids. Here is my code
After I add activity and hit submit button I am getting following error.
[Error: {"detail":"You do not have permission to do this, you got this error because there are no policies allowing this request on this application. Please consult the documentation https://getstream.io/docs/","status_code":403,"code":17,"exception":"NotAllowedException","duration":"0.17ms","more_info":"https://getstream.io/docs/api_error_responses"} with HTTP status code 403]
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The post should be successfully added and It should also reflect in the targetted user's feed.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: