Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

Exception: Upload session failed too many times(How can I remove scopes from my app?) #120

Closed
thiagofacanha opened this issue Apr 10, 2017 · 2 comments

Comments

@thiagofacanha
Copy link

thiagofacanha commented Apr 10, 2017

Hi.
Im having a problem when uploading a file in Android using onedrive API.
The application was working normally but last week started to receive a failure with the exception informing that Upload session failed too many times for some accounts(Others are working without problem).
I did a test in one of these accounts removing the app permission in the OneDrive site and the application started to work again(after asking for permission), but cant do this programmatically.
Someone knows what could have happened?

Im receiveing in the failure result of upload callback the com.onedrive.sdk.core.ClientException with that message "Upload session failed to many times."
Inside ChukedUploadRequest.java the error that its receiveing is Bad Request.

@thiagofacanha
Copy link
Author

I notted something.
The accounts that arent working with the app have more permissions than the ones that are working.
In the beginning of the app i used the previous version of OneDrive API( skydrive)
I tested putting the older scopes with the new ones
("wl.signin","wl.basic","wl.skydrive","wl.offline_access","wl.skydrive_update")
and now the same problem happens.
So probably my problem is with these old scopes...
Is there any way of remove programmatically a scope from an app in OneDrive?
Thxs

@thiagofacanha thiagofacanha changed the title Exception: Upload session failed too many times Exception: Upload session failed too many times(How can I remove scopes from my app) Apr 11, 2017
@thiagofacanha thiagofacanha changed the title Exception: Upload session failed too many times(How can I remove scopes from my app) Exception: Upload session failed too many times(How can I remove scopes from my app?) Apr 11, 2017
@baywet
Copy link
Member

baywet commented Oct 2, 2024

Thank you for reaching out and for your patience. This SDK is being officially deprecated. See #172 for more information

@baywet baywet closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants