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

userResult = usersClient.View(userResult) now throwing Exception rather then giving out NULL #169

Open
irachitrastogi opened this issue Mar 19, 2021 · 0 comments

Comments

@irachitrastogi
Copy link

irachitrastogi commented Mar 19, 2021

Hi Team, I am using the view client call to check if the user is available at intercom or not, the code that we at our end is to check NULL and now I am getting exceptions if the user does not exist and therefore facing a problem.

Can someone please confirm if the functionality of the API view method is changed? So, that I can change the code accordingly.

Looking forward to a quick response. Thanks!

"var result = new ExternalIntercom.Data.User { id = userId.ToString() };
result = usersClient.View(result);"

This is Throwing an exception now(if the user_id does not exist), but initially, it was a sending NULL if we did not have a user.

Please confirm if this is still the case? Or something has changed.

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

No branches or pull requests

1 participant