Skip to main content
Answered

Something's gone wrong, content could not be loaded (React Native)

  • November 28, 2023
  • 3 replies
  • 236 views

We are encountering an issue where the messenger displays “Content could not be loaded” to newly created users in our app and initially calling loginUserWithUserAttributes method. After re-opening the app  the messenger works.

Issue is only encountered in released versions (Test flight and App store) and we can’t replicate in debug/local.
 

 

Best answer by Jacob Cox

Hi @bryanmalaluan.reckon !

It looks like you were able to get this squared away while working with our Support team and that you discovered this was a matter of not calling the loginUserWithAttributes() call in your production app. Happy to hear you go things working again!

View original
Did this topic help you find an answer to your question?

3 replies

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • December 3, 2023

Hi @bryanmalaluan.reckon !

Two common causes for this message are below 👇

  1. You are logging your Users into your app with only their email address (not with a user_id) and you have more than one User that has that same email address. In this situation, the Messenger doesn’t know which User to log in so it throws that error. To solve this, you’ll need to make sure you are logging your Users in with their user_id.
  2. You have Identity Verification turned on for your Mobile apps, but you aren’t passing in the correct user_hash when you log your Users in. You can read up on the correct way to do that in our docs here. NOTE: The docs point this out, but you’ll want to make sure that you make that setUserHash() call before registering your User.

Let me know if any of the above was helpful!


@Jacob Cox the suggestions you mentioned didn’t help. I also notice that If we signed out an existing user in our app that has the messenger working currently and login using a different user the Intercom messenger returns the same error. Take note that we are calling Intercom.logout() from our code when signing out a user.

 

Is there a way to know if Intercom has an active user that is currently logged/registered in messenger?


Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • Answer
  • December 9, 2023

Hi @bryanmalaluan.reckon !

It looks like you were able to get this squared away while working with our Support team and that you discovered this was a matter of not calling the loginUserWithAttributes() call in your production app. Happy to hear you go things working again!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings