Skip to content

UsersClient.View returning null, not throwing an exception #140

Open

Description

@mzammitkg

As of this morning, the following call to UsersClient seems to be returning null:

var usersClient = new UsersClient(new Authentication(AccessToken));
var user = usersClient.View(new Intercom.Data.User() { user_id = user_id.ToString() });

There is no exception thrown, which will be a breaking change for many apps (including ours).

Activity

  1. wil55n commented on Oct 11, 2018

    @wil55n

    Yes, we are experiencing the same issue as of today. Basically any userclient call is returning null.
    We are on version 1.0.31 of the SDK.
    If we update to 2.x of the SDK the call returns the correct data BUT we can not use 2.x right now because of the dependancy on .NET Standard

  2. abentabet commented on Oct 11, 2018

    @abentabet

    The problem comes from the API and not the SDK, i've tried manual http request, it works by Id but not by userid, hope intercom fix that soon

  3. abentabet commented on Oct 11, 2018

    @abentabet

    When using "ContactsClient.View" with .NET Framework 4.5.2 (same SDK version : 1.0.31) I have "null" but when using .NET Framework 4.7 it works ! ... we can't update .net framework because it impacts all our code

  4. mortenmoulder commented on Oct 11, 2018

    @mortenmoulder

    We're experiencing the exact same thing here. Works on 4.7.1 but not on 4.5.1. Using version 1.0.31.

    I'm talking to Intercom as we speak. They are aware of the issue now, at least. Let's hope they fix this.

  5. RebliNk17 commented on Oct 11, 2018

    @RebliNk17

    Working with 4.7.1 and still receiving null...

  6. mortenmoulder commented on Oct 11, 2018

    @mortenmoulder

    Seems like we have a temporary fix: .NET Framework 4.5 does not have TLS 1.2 enabled by default. If you set it, it should work for .NET Framework 4.5 applications as well.

    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12
    
  7. sith30 commented on Oct 12, 2018

    @sith30

    It works! Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions