I'm integrating the dropbox API in a college project in which I'm required to upload text files and download them (Which I have done with success) and I'm also required to upload and download photos. While trying to upload photos, I use the same exact logic for the text files and when I reach the line:
mDbxClient.files().uploadBuilder(remoteFolderPath + "/" + remoteFileName).withMode(WriteMode.OVERWRITE).uploadAndFinish(inputStream);
The debugger just dies, no exception is thrown, the application keeps on running normally but the photo is never uploaded.
Can you please help me solve this issue?