Errors using OneDrive
Please agree to the following
- [x] I have searched existing issues for duplicates
- [x] I agree to follow this project's Code of Conduct
Summary
Upload, Rename and Move no longer works with OneDrive
System Setup
- Android: 16 / API36
- Cryptomator: v1.12.2 (3020) Google Play
- Device Pixel 8
Cloud Type
OneDrive
Steps to Reproduce
- Navigate to a folder in the Cryptomator App
- Upload a file
Expected Behavior
The file should be uploaded and appear in the current folder.
Actual Behavior
There is a generic error message "An error ocurred" and the file does not appear.
Reproducibility
Always
Relevant Log Output
V 20251103145304.801 Progress org.cryptomator.domain.usecases.cloud.UploadState@8ce708d: complete
V 20251103145304.804 Progress UPLOAD 100%
D 20251103145304.806 UploadFilesUseCase failed 49fdfc21
D 20251103145304.827 ExceptionHandler Unexpected error
org.cryptomator.domain.exception.FatalBackendException: Item name shouldn't be null
at org.cryptomator.data.cloud.onedrive.OnedriveCloudNodeFactory.file(OnedriveCloudNodeFactory.kt:27)
at org.cryptomator.data.cloud.onedrive.OnedriveImpl.write(OnedriveImpl.kt:210)
at org.cryptomator.data.cloud.onedrive.OnedriveCloudContentRepository$Intercepted.write(OnedriveCloudContentRepository.kt:108)
at org.cryptomator.data.cloud.onedrive.OnedriveCloudContentRepository$Intercepted.write(OnedriveCloudContentRepository.kt:56)
at org.cryptomator.data.cloud.InterceptingCloudContentRepository.write(InterceptingCloudContentRepository.kt:155)
at org.cryptomator.data.repository.DispatchingCloudContentRepository.write(DispatchingCloudContentRepository.kt:149)
at org.cryptomator.data.cloud.crypto.CryptoImplDecorator.writeFromTmpFile(CryptoImplDecorator.kt:262)
at org.cryptomator.data.cloud.crypto.CryptoImplDecorator.writeShortNameFile(CryptoImplDecorator.kt:454)
at org.cryptomator.data.cloud.crypto.CryptoImplVaultFormat7.write(CryptoImplVaultFormat7.kt:460)
at org.cryptomator.data.cloud.crypto.CryptoCloudContentRepository.write(CryptoCloudContentRepository.kt:90)
at org.cryptomator.data.cloud.crypto.CryptoCloudContentRepository.write(CryptoCloudContentRepository.kt:21)
at org.cryptomator.data.repository.DispatchingCloudContentRepository.write(DispatchingCloudContentRepository.kt:149)
at org.cryptomator.domain.usecases.cloud.UploadFiles.writeCloudFile(UploadFiles.java:118)
at org.cryptomator.domain.usecases.cloud.UploadFiles.upload(UploadFiles.java:94)
at org.cryptomator.domain.usecases.cloud.UploadFiles.upload(UploadFiles.java:82)
at org.cryptomator.domain.usecases.cloud.UploadFiles.upload(UploadFiles.java:74)
at org.cryptomator.domain.usecases.cloud.UploadFiles.execute(UploadFiles.java:61)
at org.cryptomator.domain.usecases.cloud.UploadFilesUseCase$Launcher$2.subscribe(UploadFilesUseCase.java:119)
at io.reactivex.internal.operators.flowable.FlowableFromPublisher.subscribeActual(FlowableFromPublisher.java:29)
at io.reactivex.Flowable.subscribe(Flowable.java:14935)
at io.reactivex.Flowable.subscribe(Flowable.java:14882)
at io.reactivex.internal.operators.flowable.FlowableSubscribeOn$SubscribeOnSubscriber.run(FlowableSubscribeOn.java:82)
at io.reactivex.internal.schedulers.ExecutorScheduler$ExecutorWorker$BooleanRunnable.run(ExecutorScheduler.java:288)
at io.reactivex.internal.schedulers.ExecutorScheduler$ExecutorWorker.run(ExecutorScheduler.java:253)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
at java.lang.Thread.run(Thread.java:1119)
ErrorCode: 3K3D:B9PB
E 20251103145304.828 ExceptionHandler org.cryptomator.domain.exception.FatalBackendException: Item name shouldn't be null
at org.cryptomator.data.cloud.onedrive.OnedriveCloudNodeFactory.file(OnedriveCloudNodeFactory.kt:27)
at org.cryptomator.data.cloud.onedrive.OnedriveImpl.write(OnedriveImpl.kt:210)
at org.cryptomator.data.cloud.onedrive.OnedriveCloudContentRepository$Intercepted.write(OnedriveCloudContentRepository.kt:108)
at org.cryptomator.data.cloud.onedrive.OnedriveCloudContentRepository$Intercepted.write(OnedriveCloudContentRepository.kt:56)
at org.cryptomator.data.cloud.InterceptingCloudContentRepository.write(InterceptingCloudContentRepository.kt:155)
at org.cryptomator.data.repository.DispatchingCloudContentRepository.write(DispatchingCloudContentRepository.kt:149)
at org.cryptomator.data.cloud.crypto.CryptoImplDecorator.writeFromTmpFile(CryptoImplDecorator.kt:262)
at org.cryptomator.data.cloud.crypto.CryptoImplDecorator.writeShortNameFile(CryptoImplDecorator.kt:454)
at org.cryptomator.data.cloud.crypto.CryptoImplVaultFormat7.write(CryptoImplVaultFormat7.kt:460)
at org.cryptomator.data.cloud.crypto.CryptoCloudContentRepository.write(CryptoCloudContentRepository.kt:90)
at org.cryptomator.data.cloud.crypto.CryptoCloudContentRepository.write(CryptoCloudContentRepository.kt:21)
at org.cryptomator.data.repository.DispatchingCloudContentRepository.write(DispatchingCloudContentRepository.kt:149)
at org.cryptomator.domain.usecases.cloud.UploadFiles.writeCloudFile(UploadFiles.java:118)
at org.cryptomator.domain.usecases.cloud.UploadFiles.upload(UploadFiles.java:94)
at org.cryptomator.domain.usecases.cloud.UploadFiles.upload(UploadFiles.java:82)
at org.cryptomator.domain.usecases.cloud.UploadFiles.upload(UploadFiles.java:74)
at org.cryptomator.domain.usecases.cloud.UploadFiles.execute(UploadFiles.java:61)
at org.cryptomator.domain.usecases.cloud.UploadFilesUseCase$Launcher$2.subscribe(UploadFilesUseCase.java:119)
at io.reactivex.internal.operators.flowable.FlowableFromPublisher.subscribeActual(FlowableFromPublisher.java:29)
at io.reactivex.Flowable.subscribe(Flowable.java:14935)
at io.reactivex.Flowable.subscribe(Flowable.java:14882)
at io.reactivex.internal.operators.flowable.FlowableSubscribeOn$SubscribeOnSubscriber.run(FlowableSubscribeOn.java:82)
at io.reactivex.internal.schedulers.ExecutorScheduler$ExecutorWorker$BooleanRunnable.run(ExecutorScheduler.java:288)
at io.reactivex.internal.schedulers.ExecutorScheduler$ExecutorWorker.run(ExecutorScheduler.java:253)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1156)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:651)
at java.lang.Thread.run(Thread.java:1119)
ErrorCode: 3K3D:B9PB
W 20251103145304.832 Message Ein Fehler ist aufgetreten
D 20251103145304.864 AssertUnlockedUseCase started 49fdfc25
D 20251103145304.864 AssertUnlockedUseCase finished 49fdfc25
Anything else?
The file does appear when refreshing the folder though. However, rnaming or moving a file does not work at all, same error.
On the PC it all works fine.
Can you still reproduce this behaviour? Because it seems that OneDrive did change their API by not returning the file item when writing to a file but I currently tried to reproduce it and all looks normal on my side, maybe OneDrive just had a hiccup.
Thanks for the reply @SailReal
I just tried uploading a file and still get the error.
Seems the Android app is not working at all now. WebDAV doesn't even work at all either.
Actually, with my OneDrive account it seems to be working again. Just tested upload, move, rename and did not get any errors.