ListMemberInfo Data always Null

Mar 22, 2012 at 11:05 PM
Edited Mar 22, 2012 at 11:17 PM


I am trying to use the ListMemberInfo function to check if an email address is already subscribed to a list. But the Data property always returns a Null value.  I saw another thread that suggested checking the Success.Value to see if it equaled 1, but it always returns 1 even if the email is not on the list.



Private api As MCApi = New MCApi(params.API.Key, False)  'I've tried true also

Dim mi As List.MemberInfo = api.ListMemberInfo(listID, {email})
'listID is the unique_id for the list and email is the email address


The "mi" value is not null, but if I check mi.Data it is Nothing ( Null)

If I were to force the subscribe, it will tell me the user is already subscribed.  If I do an unsubscribe, it will unsubscribe the user.  So, it seems that everything is working except this check.

EDIT: I turned on Fiddler to watch the traffic to the MC API datacenter and it does return all the info so it is querying the data, just not getting inserted into the Data property.  

Since this is a VB project (.NET 4.0, 64-bit), I included FSharp.Core.dll (version 2.0.0, 32-bit).  Is that correct?


Mar 23, 2012 at 6:00 PM

Just want to let you know that when I downgrade to, everything works great.


Mar 23, 2012 at 10:54 PM

Fixed (there was a small bug that prevented to deserialize correctly this type). Try the last version ...