function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rakesh ERakesh E 

How to give a user access permission to a "pushtopic" record

Hi,

 

i am using streaming API for one of our usecase. but when i login as a customer portal user i am unbale to access this puchtopic events. i am getting an error saying

 

[{"channel":"/meta/subscribe","clientId":"q1vf4zlptf4e3m1jk9pzxrlx4mn","error":"403::User not enabled for streaming","successful":false,"id":"2","subscription":"/topic/ExportToExcelPushTopic"}]

 

 

when i searched for that i have seen that we have to enable "View All Data" permission to that user profile. but when i went to the customer portal profile i didnt find that checkbox in the general user permissions section for the portal profile.

 

please let me know how i can handle this.

 

thanks in advance

 

Regards,

Rakesh

Mathieu BeausoleilMathieu Beausoleil
You need to edit the Profile and allow the Read on the PushTopic Object:

Setup > Manage Users > Profiles > The User Profile > Object Settings > Push Topics > Edit

Then check the Read option and save
Heather ThompsonHeather Thompson
This question was posted a few years ago, but for anyone else that comes acrosss this, community user profies do not have access to the push topic Object