ContactHubSpotModel.Email always null
See original GitHub issueDescribe the bug In all cases, the ContactHubSpotModel.Email property is null, although I am certain that each contact has a valid e-mail address. LastName and FirstName give normal response
Repro Steps
foreach (ContactHubSpotModel contact in result.Contacts)
{
Console.WriteLine($"{contact.FirstName} {contact.LastName} {contact.Email}");
}
Console.ReadLine();
Expected behavior Return the e-mail address as registered in HubSpot
Screenshots
Anything else?* I am new to HubSpot (integration)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
ContactHubSpotModel.cs
C# .NET Wrapper around the common HubSpot APIs. Contribute to hubspot-net/HubSpot.NET development by creating an account on GitHub.
Read more >API - Cannot update custom contact property (returns null)
Hello, There is no response for this post curl; and it does not update contact. Is there anything wrong? There is a property...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ok, clear. Thanks for the feedback. I will close this one.
@franknesse, this is actually due to HubSpot’s API specifications found here under the Optional Parameter section and Property. Their API only includes a few properties (i.e. first and last name) by default when getting all contacts by this method.