cindy | Posts: 380

unsupportedFileType

0 votes
Hi, when we create the package or upload the new document, I got 'error.validation.unsupportedFileType' error? in which scenarios, this error will throw? thanks, Cindy

Duo_Liang | Posts: 3776

Reply to: unsupportedFileType

0 votes

Hi Cindy,

OneSpan Sign utilizes third party library to determine the file type from received byte array, instead of simply checking the extension from file name.

If you received the "error.validation.unsupportedFileType" error message, it mostly likely that the actual uploaded file was outside the supported list ("pdf", "doc", "rtf", "odt", "txt", "docx"), or was failed to detected as one of the list.

For this specific case, if you can collect the actual uploaded document from the client, we can further analyze the failure reason.

Duo


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off