[Problem/Question]
// Detailed description of issue.
I’m using <SBConversation> fro the uikit-react.
In our workflow - joining a channel is doen via the backend, so the backend/server calls sendbird api and joins a channel on behalf of the current logged in user.
Immediately after joining the channel the <SBConversation> component crashes the react app with this error:
Uncaught runtime errors:
ERROR
Cannot read properties of null (reading 'guest_id')
TypeError: Cannot read properties of null (reading 'guest_id')
at new r (http://localhost:3000/static/js/bundle.js:293573:83)
at new n (http://localhost:3000/static/js/bundle.js:280778:70)
at n.as (http://localhost:3000/static/js/bundle.js:290439:14)
at e.<anonymous> (http://localhost:3000/static/js/bundle.js:282054:38)
at http://localhost:3000/static/js/bundle.js:289303:17
at Object.next (http://localhost:3000/static/js/bundle.js:289314:8)
at s (http://localhost:3000/static/js/bundle.js:289219:13)
my code doesn’t include ANY guest_id and tracking that code down seem to come from the bundled package, if you look in sendbird github’s account - the only mention for this is in relation to Flutter… not sure why is that even related… https://github.com/search?q=org%3Asendbird+guest_id&type=code.
// If problem, please fill out the below. If question, please delete. [UIKit Version]
“react”: “^17.0.1”
“@sendbird/uikit-react”: “^3.6.3”
[Reproduction Steps]
Join a channel from the backend.
We are also getting the same error. @Support_Engineers can you please take a look. We are using
“@sendbird/uikit-react-native”: “2.4.1”
“@sendbird/chat”: “4.9.3”
This issue was caused by the Chat SDK, and our engineering team has released the fix.
Could you please update the Chat SDK to the latest version, v4.9.5?