-1: Failed to deserialize data.

Aug 17, 2012 at 8:47 PM

i got a -1: Failed to deserialize data with the following code.

m.MessagesSearch("*", dateFrom, dateTo, tags, senders, limit);

where m is a MandrilApi object

Aug 17, 2012 at 9:16 PM

the inner exception is:


 Invalid enum value 'soft-bounced' cannot be deserialized into type 'MailChimp.Types.Mandrill+Messages+Status'. Ensure that the necessary enum values are present and are marked with EnumMemberAttribute attribute if the type has DataContractAttribute attribute.

Aug 18, 2012 at 8:27 PM

I need to add 'soft-bounced' status to the statuses enumaration.

Aug 20, 2012 at 4:44 PM

OK :)

Aug 20, 2012 at 11:35 PM
Edited Aug 20, 2012 at 11:35 PM

Do you have an example for the query parameter? i only know that the default value is (*).

Aug 21, 2012 at 1:33 AM

I figure it out , thanks!


The only thing that i didn't like is the maximun limit.

Aug 21, 2012 at 8:00 PM

The problem that i have is that apparently the method m.MessagesSearch() only brings me 1000 emails but i need to have all the list, is there another option that i could use? 


Thanks for your time and sorry for all the questions.

Aug 22, 2012 at 7:15 PM

There is no way to fetch more than 1000 emails.