I am using the Laserfiche API on premise to upload a document and it is generating the following error:
"setEdoc": {
"exceptions": [
{
"errorCode": -2147024816,
"errorClass": "extraErrorException",
"statusCode": 409,
"operationId": "2c32e8e12a2e4c0798524ad7618d322e",
"message": "The file exists. [-2147024816]",
"errorSource": "Laserfiche Server"
}
]
},
Also, I see the document in Laserfiche but the files size is 0 bytes.
When I switch to my Laserfiche 10.3 server it saves properly and I see that the entire document is available and not 0 bytes.
All I am doing is changing the LaserficheServerName variable in the appsettings.json file.
I am passing my admin account on both instances so would not be a security issue. Also saw nothing in the Event logs. These are brand new documents so they do not exist.
[INFO+0ms(12)][POST] https://site/LFRepositoryAPI/v1/Repositories/MedicaDT/Entries/577933/Application%20Security%20Information%20-%20Be%20Safe%20and%20Secure%20SDLC.pptx?autoRename=true
[INFO+12ms(12)]Got sessionkey from contextAuthorization header
[INFO+1s 566ms(10)]EntryConnector GetOperationExceptions | Exception found The file exists. [-2147024816]
[INFO+1s 570ms(10)]EntryConnector GetOperationResults | EntryId : 624574
[INFO+1s 570ms(10)]EntryConnector GetOperationResults | Created with : 1 fields
[INFO+1s 570ms(10)]EntryConnector GetOperationResults | Created with : template 'Supplemental'
[INFO+1s 580ms(10)]EntryController UploadEdoc | PartialSuccess: True
[INFO+1s 623ms(13)]Completed at 2025-07-02T18:04:23.0409067Z LowSecondOp.
[LFRepositoryAPI]HTTP Reponse: 409.[a0d9afca9c2c49c8a4e184ad0c3c482e][0!0](1s 623ms)>[Warning][-1][4000066b-0003-e300-b63f-84710c7967bb][system]
What could be causing this?