Using the Dropbox V2, this is the call
The completion sub is this, as documented
Then, I get the error
What Could it be? I don't have a clue.
B4X:
dbxFiles.Upload(Folder,"master.db",FTPMainFolder,False,False)
The completion sub is this, as documented
B4X:
Sub dbxFiles_UploadFinished(success As Boolean, meta As FileMetadata, error As String)
End Sub
Then, I get the error
B4X:
UploadErrorException:com.dropbox.core.v2.files.UploadErrorException: Exception in 2/files/upload: {".tag":"path","reason":{".tag":"conflict","conflict":"folder"},"upload_session_id":"pid_upload_session:ABIHLR-LLkmjwHZzYv14SbccQOdsPvTVJWFY2v-qWTIh99nrBw"}
Error occurred on line: 0 (Main)
java.lang.Exception: Sub dbxfiles_uploadfinished signature does not match expected signature.
public static anywheresoftware.b4a.pc.RemoteObject com.tropic.invoicefull.main_subs_0._dbxfiles_uploadfinished(anywheresoftware.b4a.pc.RemoteObject,anywheresoftware.b4a.pc.RemoteObject,anywheresoftware.b4a.pc.RemoteObject) throws java.lang.Exception
class anywheresoftware.b4a.pc.RemoteObject, class anywheresoftware.b4a.pc.RemoteObject, class anywheresoftware.b4a.pc.RemoteObject, class java.lang.String, class java.lang.String,
java.net.SocketException: Socket closed
at java.net.SocketInputStream.read(SocketInputStream.java:209)
at java.net.SocketInputStream.read(SocketInputStream.java:144)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:248)
at java.io.BufferedInputStream.read(BufferedInputStream.java:267)
at anywheresoftware.b4a.shell.ShellConnector.readControlData(ShellConnector.java:191)
at anywheresoftware.b4a.shell.ShellConnector.connect(ShellConnector.java:186)
at anywheresoftware.b4a.shell.ShellConnector.run(ShellConnector.java:119)
at java.lang.Thread.run(Thread.java:923)
System.exit called, status: 0
VM exiting with result code 0, cleanup skipped.
What Could it be? I don't have a clue.