Page 1 of 1

Help with document uploading via API

Posted: Thu Apr 16, 2026 4:15 pm
by Cpasc
Hi there,

I've been building an automation that uploads scanned forms via POST /documents/Upload with rawBase64. I've been running into an issue where the .jpg/.pdf files that are uploaded display a pop-up that reads "Document has been previously deleted". The popup only shows up on an initial viewing of the file and does not persist. I've double checked that the base64 strings are valid and I've tried keeping the temp pdf/jpg files my automation downloads in the case that it's related to network upload, but the pop-up persists. Would love some insight on if this is a common issue with base64 uploads or if my implementation sucks.

Thanks!

Re: Help with document uploading via API

Posted: Fri Apr 17, 2026 8:28 am
by justine
Cpasc wrote: Thu Apr 16, 2026 4:15 pm Hi there,

I've been building an automation that uploads scanned forms via POST /documents/Upload with rawBase64. I've been running into an issue where the .jpg/.pdf files that are uploaded display a pop-up that reads "Document has been previously deleted". The popup only shows up on an initial viewing of the file and does not persist. I've double checked that the base64 strings are valid and I've tried keeping the temp pdf/jpg files my automation downloads in the case that it's related to network upload, but the pop-up persists. Would love some insight on if this is a common issue with base64 uploads or if my implementation sucks.

Thanks!
Hello Cpasc,

This sounds like an issue on the Open Dental side affecting certain versions, rather than a problem with your implementation. Especially given that you’ve already validated the base64 and ruled out local file handling.

Could you reach out to us via email with the last four characters of your customer key? That will help us identify your setup and confirm whether you're hitting this specific issue.

You can find the appropriate contact email in the Contact Us section of the Developer Portal.

Also, as a general recommendation, for document uploads we suggest using the SFTP-based document endpoints instead of rawBase64, as they tend to be more reliable for file handling.

Thanks!

Re: Help with document uploading via API

Posted: Fri Apr 17, 2026 10:06 am
by Cpasc
Hey Justine,

Thanks for following up, I've sent in the last 4 of my customer key via email just now.