I am attempting to upload a pdf document to our Laserfiche repository via the self-hosted API.
specifically: POST.../Entries/{Parent ID}/{document name} returns a 203 (full error below)
I can see that it Does create a file in the appropriate repository and directory, with the appropriate name and metadata from my request body, however, when I try to view it, it says "this document contains no pages" under Image, and "this document does not contain an electronic file" under Electronic File.
i know from sending my request to 'http://httpbin.org/post' that I am, in fact, sending:
files: {"electronicDocument":"<long data>"}
here is the associated full-stack-trace from the log:
Message: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). Type: System.FormatException StackTrace: at System.Guid.GuidResult.SetFailure(Boolean overflow, String failureMessageID) at System.Guid.TryParseExactN(ReadOnlySpan`1 guidString, GuidResult& result) at System.Guid.TryParseGuid(ReadOnlySpan`1 guidString, GuidResult& result) at System.Guid..ctor(String g) at Laserfiche.RepositoryAccess.ProtocolUtil.DecodeMultiStatusCreateDocFromUploadFileResponse(HttpResponse response, CreateDocumentContent& createdContent) at Laserfiche.RepositoryAccess.Upload.UploadFile.CreateDocument(CreateDocumentContent contentData, ISession session, CreateDocumentContent& createdContent) at Laserfiche.Repository.LFSConnector.Connectors.EntryConnector.CreateEntryWithEdocAndMetadata_V1(String repositoryId, Int32 parentEntryId, String fileName, IFormFile file, PostEntryWithEdocMetadataRequest request, Boolean autoRename)
Other API calls work fine. This error appears whether I am using swagger or my own program.