Documents/DownloadSftp API

For requests or help with our API
Post Reply
aearl23
Posts: 14
Joined: Wed Jan 22, 2025 3:33 pm

Documents/DownloadSftp API

Post by aearl23 » Thu Jan 30, 2025 11:25 am

I am on version 24.3.43 and I got this error:

Error in POST request to documents/DownloadSftp: OpenDental API error: 400 - "Error. This is most likely a version issue. The version that the customer is using might be too old to support the API method used."

The API specs tell me that the POST DownloadSftp method was added for 'Version Added: 21.2' yet I am getting this error.

aearl23
Posts: 14
Joined: Wed Jan 22, 2025 3:33 pm

Re: Documents/DownloadSftp API

Post by aearl23 » Thu Jan 30, 2025 12:23 pm

Also, can I use a SSH key for authentication or does the API only support password authentication?

justine
Posts: 265
Joined: Tue Dec 28, 2021 7:59 am

Re: Documents/DownloadSftp API

Post by justine » Thu Jan 30, 2025 12:29 pm

aearl23 wrote:
Thu Jan 30, 2025 11:25 am
I am on version 24.3.43 and I got this error:

Error in POST request to documents/DownloadSftp: OpenDental API error: 400 - "Error. This is most likely a version issue. The version that the customer is using might be too old to support the API method used."

The API specs tell me that the POST DownloadSftp method was added for 'Version Added: 21.2' yet I am getting this error.
aearl23 wrote:
Thu Jan 30, 2025 12:23 pm
Also, can I use a SSH key for authentication or does the API only support password authentication?
Hello aearl23,

POST documentsSftp requires that the user with the SFTP credentials must have write permissions. Does the user have write permissions?

Thanks!

aearl23
Posts: 14
Joined: Wed Jan 22, 2025 3:33 pm

Re: Documents/DownloadSftp API

Post by aearl23 » Thu Jan 30, 2025 12:40 pm

Yes, the user has write permissions, but does the API support SSH authentication or only password?

justine
Posts: 265
Joined: Tue Dec 28, 2021 7:59 am

Re: Documents/DownloadSftp API

Post by justine » Thu Jan 30, 2025 12:44 pm

aearl23 wrote:
Thu Jan 30, 2025 12:40 pm
Yes, the user has write permissions, but does the API support SSH authentication or only password?
Hello aearl23,

POST documents DownloadSftp documentation clearly states that SftpUsername and SftpPassword fields are required.

Thanks!

Post Reply