Skip to main content

I’m experiencing internal Intercom error that is displayed in app’s UI (NextJS app router, @intercom/messenger-js-sdk package). This is a very unpleasant UX and I’d like to know how to prevent such behaviour.

 

Hey ​@Upfirst Dev 👋 Jacques here from Intercom Support. I hope all is well today!

Would you be able to provide details on the steps you are taking in your app when this issue occurs? Does it occur on App start or do certain actions cause the error to show?

2 potential causes of this issue that I’m thinking are:

  • Intercom is not properly initialized before calling certain methods.
  • A race condition occurs where the Messenger tries to access newSession before the Intercom object is fully available.

It might be worth it for you to reach out to our Support Team via the Messenger so they can dig deeper into this issue for you!


Reply