You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
Another related question:
Would it be possible to get an NameAlreadyExists-Error also when posting a new item (in my case a folder) and copying (getCopy(...).buildRequest().post())?
Or is there a way to easily get information if a "name" already exists in a folder, rather then iterating over the folder's children?
edit: ok I maybe found a "nicer" way: mOneDriveClient.getDrive().getItems(folder).getChildren(itemName).buildRequest().get();
but although I catch the ClientException I get the whole error in logcat. Is it possible to remove this log output (It seems to come from DefaultHttpProvider line 202 ( this.mLogger.logError("OneDrive Service exception " ). Maybe you could introduce some kind of new logging lvl which does not log such things :)
mOneDriveClient.getDrive().getItems(folder).getChildren(itemName).buildRequest().get();
doesn't seem to work with OneDrive for Business => com.onedrive.sdk.http.OneDriveServiceException: Error code: Unable to parse error response message
I implemented a "move" -fileoperation
So I used
...buildRequest().patch(newLocation, new ICallback<Item(){....}
When using MSA i get a
failure
callback with anOneDriveErrorCodes.NameAlreadyExists
-ErrorThis is great.
When using OneDrive for Business Account, it just successfully finishes, which is not really I would expect ;)
I hope you can help me again
Thanks in advance,
Thomas
The text was updated successfully, but these errors were encountered: