UploadDocumentResult
Possible responses when uploading a document.
union UploadDocumentResult = DocumentUploaded | InvalidDocumentFormatError | OfferNotFoundError | UnexpectedError
Possible types
UploadDocumentResult.DocumentUploaded object
The document was successfully uploaded.
UploadDocumentResult.InvalidDocumentFormatError object
Error due to invalid document type or size. We support pdf, doc, and docx file formats with size up to 5MB.
UploadDocumentResult.OfferNotFoundError object
Error indicating that the requested offer could not be found or accessed.
Common causes:
- Invalid or expired offer ID
- Offer exists but belongs to a different broker
- Insufficient permissions to access the offer
- On test environment, the offers reset every thursday and offers created before that date are not available anymore.
UploadDocumentResult.UnexpectedError object
In case an unexpected error occurs during the update customer operation. Please contact customer support for assistance.
Returned By
uploadDocument mutation