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.
Documents/DownloadSftp API
Re: Documents/DownloadSftp API
Also, can I use a SSH key for authentication or does the API only support password authentication?
Re: Documents/DownloadSftp API
aearl23 wrote: ↑Thu Jan 30, 2025 11:25 amI 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.
Hello aearl23,
POST documentsSftp requires that the user with the SFTP credentials must have write permissions. Does the user have write permissions?
Thanks!
Re: Documents/DownloadSftp API
Yes, the user has write permissions, but does the API support SSH authentication or only password?
Re: Documents/DownloadSftp API
Hello aearl23,
POST documents DownloadSftp documentation clearly states that SftpUsername and SftpPassword fields are required.
Thanks!