signnow / SignNow.NET

SignNow.Net is the official .NET 4.5+ and .NET Standard class library for the SignNow API. SignNow allows you to embed legally-binding e-signatures into your app, CRM or cloud storage. Send documents for signature directly from your website. Invite multiple signers to finalize contracts.
https://www.signnow.com/developers
MIT License
16 stars 12 forks source link

Error converting value "initials" to type 'SignNow.Net.Model.FieldType' #96

Closed poctob closed 4 years ago

poctob commented 4 years ago

If a document contains initials field type, GetDocumentAsync method fails with the following exception:

Exception thrown: 'Newtonsoft.Json.JsonSerializationException' in System.Private.CoreLib.dll: 'Error converting value "initials" to type 'SignNow.Net.Model.FieldType'. Path 'fields[10].type', line 1, position 19518.'

Field.cs line 75, enum is missing 'initials' type it has 'Initial' field instead

AlexNDRmac commented 4 years ago

Thank you for reporting. It will be fixed soon.

poctob commented 4 years ago

'Enumeration' fails as well. Changing 'Initial' to 'Initials' and 'Dropdown' to 'Enumeration' seems to fix the problem