question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tried to fetch the homescreen but there was a network error (409)

See original GitHub issue

Hi, please I’ve followed the docs and implemented this library and it works perfectly on Android but I keep getting a blank screen when the messenger loads on iOS.

When I launched the app from XCode I see the following message in the console on XCode.

[Intercom] ERROR - Tried to fetch the homescreen but there was a network error (409) - Request failed: conflict (409)

Here’s the code I run when launching the messenger.

// register identified user
await Intercom.registerIdentifiedUser({
  email: email,
});
// set user info
await Intercom.updateUser({
  name: first_name + ' ' + last_name,
});
// display intercom
await Intercom.displayMessenger();

Can’t really find what the cause of this problem is, can anyone help me out?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
osikescommented, Jul 27, 2021

Not sure, if there’s anyone still out there with this issue. But in my case, getting either 409 or 401 was result of the ‘identity verification’ settings being enabled for iOS and android.

1reaction
thecodecafecommented, Aug 12, 2020

Hi, @hemche thanks so much for the article you shared, what I had to do however to get this working was to register as an unidentified user and then update the user’s info, this worked for me, although I noticed that when I register as an identified user with the user ID and not email it also works, what I have work’s right now so I think I’m ok.

I’m not entirely sure of what the problem was but when registering as an identified user using an email address I get this error. [Intercom] ERROR - Tried to fetch the homescreen but there was a network error (409) - Request failed: conflict (409)

For anyone who might have encountered this problem, please find the code below that worked for me.

// register identified user
await Intercom.registerUnidentifiedUser();
// set user info
await Intercom.updateUser({
  user_id: String(id),
  name: first_name + ' ' + last_name,
  email: email,
});

Gracias! ✌️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tried to fetch the homescreen but there was a network error (409)
Hi, please I've followed the docs and implemented this library and it works perfectly on Android but I keep getting a blank screen...
Read more >
How to Fix "Error Code: 409" on Browsers? - Appuals.com
1. Perform a Restart of the Device and Networking Equipment · 2. Update the Browser to the Latest Build · 3. Run the...
Read more >
Suddenly getting unexpected "409 Conflict" errors today due ...
Suddenly getting unexpected "409 Conflict" errors today due to multiple identical emails even though we are passing unique "user_id" which ...
Read more >
CoD MW2 error codes and how to fix them - Radio Times
We've listed the most common Modern Warfare 2 error codes, along with their solutions to get you back to multiplayer mayhem in no...
Read more >
App Distribution troubleshooting & FAQ - Firebase - Google
There was an error provisioning your app (400, 409, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found