carverauto / flutter

🚨 ChaseApp opensource mobile app - follow live police chases 🚔
https://chaseapp.tv
MIT License
3 stars 0 forks source link

Stream Firehose Events Access Issue #171

Closed rutvik110 closed 2 years ago

rutvik110 commented 2 years ago

Description : I'm not able to access the firehose feed within the app.

final firehoseFeed = streamFeed.flatFeed('events', "firehose"); Though, I'm able to access this other feeds in this "events" group, but except the "firehose"!

Screenshot 2022-03-13 at 1 07 23 PM

You're able to access those on the web though! So not quite sure, what's the issue here!

Error Logs :

Response ({
"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.13ms","more_info":"https://getstream.io/docs/api_error_responses"
})

Possible Solutions: Atm, we can't change this permissions from dashboard, we'll have to consult the support team to update this.

Screenshot 2022-03-13 at 12 58 08 PM

Stream github issue : https://github.com/GetStream/stream-java/issues/77#issuecomment-606488517

mfreeman451 commented 2 years ago
const client = connect('uq7mwraum8nu', res.data.data.message, '102359')
          const firehose = client.feed('events', this.feedUser)
mfreeman451 commented 2 years ago

Created a ticket with getstream, for now maybe see if you can supply 'leku' as the username

rutvik110 commented 2 years ago

Closing this as it's resolved with updated permissions from getStream team.