Skip to content

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

@irachitrastogi

Description

@irachitrastogi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions