UploadInputErrorReason
Why Engine rejected an upload — see EngineError.InvalidUploadInput.
Entries
The step needs both sides of the ID and no back side was given.
A file has no bytes, or none could be read from UploadFile.openStream.
A file's bytes aren't a type the step accepts: JPEG or PNG for an ID, and one of the chosen document's AllowedDocument.allowedFileTypes otherwise. Engine reads the bytes, as the backend does, not UploadFile.contentType.
A file is over the backend's 20 MiB limit, going by UploadFile.sizeBytes. A file of unknown size is sent, and the backend's refusal comes back as a recoverable EngineError.StepValidation.
The step allows more than one document and none was chosen.
The chosen document isn't one of the step's InputRequest.UploadNonIdDocument.allowedDocuments.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.