kevbite / CompaniesHouse.NET

A simple .NET client wrapper for CompaniesHouse API
MIT License
37 stars 44 forks source link

GetCompanyFilingHistoryAsync() Error converting Liquidation to type #82

Closed JulianGuppy closed 6 years ago

JulianGuppy commented 6 years ago

When using _companiesHouseClient.GetCompanyFilingHistoryAsync with a company registration number of 00059337 I get the following error:-

System.AggregateException HResult=0x80131500 Message=One or more errors occurred. Source=mscorlib StackTrace: Inner Exception 1: JsonSerializationException: Error converting value "liquidation" to type 'CompaniesHouse.Response.ResolutionCategory'. Path 'items[22].resolutions[0].category', line 1, position 11656.

Inner Exception 2: ArgumentException: Requested value 'liquidation' was not found.

kevbite commented 6 years ago

This should be fixed in the latest release 5.0.0 can you update the packages and test this is working and raise another issue if you're still having problems.

Thanks!