We are utilizing eDOCS/API vers 16.7.2 When add documents via Rest API, file created as zero bytes

Options
Jason Tohlen
edited August 30, 2023 in eDOCS #1

I have a java program that is utilizing the eDOCS API vers 16.7.2, when uploading a file via Swagger it works fine and the document is created successfully, it is unlocked (no red mark on thumbnail) and its not zero bytes. However, when I attempt to add a document via my java class, the document is created, however the thumbnail displays a red checkmark (locked) and the file itself (tiff or PDF) is zero bytes. If anyone has run into this or can tell me also why Posting a document via Swagger works and appears "checked in" while posting it via my java class its not checked in and its a zero byte file, I would appreciate the help. I should note trying to add the file via Postman I get the same issue, it only works via Swagger..

Tagged: