Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR - [HTTP 401] - Failed Identity Verification check #438

Open
adilexperience opened this issue Jun 4, 2024 · 4 comments
Open

ERROR - [HTTP 401] - Failed Identity Verification check #438

adilexperience opened this issue Jun 4, 2024 · 4 comments
Labels
support Asking for help writing an application

Comments

@adilexperience
Copy link

Shimmer shows for a while and then gets the error Content could not be loaded.
Facing error ERROR - [HTTP 401] - Failed Identity Verification check when trying to open Messenger.

image

This happens for both loginIdentifiedUser and loginUnidentifiedUser. This happens for all functions of the intercom not only the messenger, and help desk.

P.S: In intercom console. We have enabled identity verification.

@deepak786 deepak786 added the support Asking for help writing an application label Jun 4, 2024
@deepak786
Copy link
Collaborator

deepak786 commented Jun 4, 2024

As you have enabled the identity verification so you have to set the user hash before loginIdentifiedUser.
See https://pub.dev/documentation/intercom_flutter/latest/intercom_flutter/Intercom/setUserHash.html

But it should not be the problem with Unidentified users.

@adilexperience
Copy link
Author

Thanks for the response @deepak786 .

Update from my side:
I tried this same code after about 7 hours and it started working with UnidentifedUser only. I had a chat and it was working fine. But then after some time, it started to appear again and till now I am stuck with this. Same code nothing changed.

@deepak786
Copy link
Collaborator

Are you executing the whole code, visible in the screenshot, on click?

@adilexperience
Copy link
Author

adilexperience commented Aug 28, 2024

@deepak786

Sorry for the late response. Same behaviour still.

It was working fine with an unidentified user but then I shifted it to the identified user and it worked in debug mode for me. But in the release build, I am again facing this issue.

It is never stable, it start working automatically and then goes away with the exception:
Failed Identity Verification check

Any possible updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Asking for help writing an application
Projects
None yet
Development

No branches or pull requests

2 participants