Every time I generate a new AuthID, it passes the test connection, but once I start the backup, it gives me the error:
The operation Backup has failed with error: Failed to authorize using the OAuth service: Server error. If the problem persists, try generating a new authid token from: Duplicati OAuth Handler >
And then the test connection also fails, like the AuthID is blocked or something. I tried changing the path of the folder, deleting and readding the app permission on onedrive, but none of them worked. Anyone knows how to resolve this?
Here’s the log:
{“ClassName”:“Duplicati.Library.Interface.UserInformationException”,“Message”:“Failed to authorize using the OAuth service: Server error. If the problem persists, try generating a new authid token from: Duplicati OAuth Handler remote server returned an error: (500) Internal Server Error.”,“Data”:null,“InnerException”:null,“HelpURL”:null,“StackTraceString”:" at System.Net.HttpWebRequest.GetResponseFromData (System.Net.WebResponseStream stream, System.Threading.CancellationToken cancellationToken) [0x00146] in <4f55bbf82f9b4c60960312888c59bd5c>:0 \n at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task
1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func
1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <4f55bbf82f9b4c60960312888c59bd5c>:0 \n at Duplicati.Library.Utility.AsyncHttpRequest+AsyncWrapper.GetResponseOrStream () [0x0004d] in <2a3ee711c7c04f6c957360f2cf183a7f>:0 \n at Duplicati.Library.Utility.AsyncHttpRequest.GetResponse () [0x00044] in <2a3ee711c7c04f6c957360f2cf183a7f>:0 \n at Duplicati.Library.JSONWebHelper.GetResponse (Duplicati.Library.Utility.AsyncHttpRequest req, System.Object requestdata) [0x000c9] in :0 \n at Duplicati.Library.JSONWebHelper.ReadJSONResponse[T] (Duplicati.Library.Utility.AsyncHttpRequest req, System.Object requestdata) [0x00000] in :0 \n at Duplicati.Library.JSONWebHelper.ReadJSONResponse[T] (System.Net.HttpWebRequest req, System.Object requestdata) [0x00007] in :0 \n at Duplicati.Library.OAuthHelper.GetTokenResponse[T] () [0x00040] in :0 \n at Duplicati.Library.OAuthHelper.get_AccessToken () [0x0002f] in :0 “,“RemoteStackTraceString”:null,“RemoteStackIndex”:0,“ExceptionMethod”:null,“HResult”:-2146233079,“Source”:“Duplicati.Library.Utility”},“HelpURL”:null,“StackTraceString”:” at Duplicati.Library.OAuthHelper.get_AccessToken () [0x00169] in :0 \n at Duplicati.Library.OAuthHelper.CreateRequest (System.String url, System.String method, System.Boolean noAuthorization) [0x00027] in :0 \n at Duplicati.Library.OAuthHelper.CreateRequest (System.String url, System.String method) [0x00000] in :0 \n at Duplicati.Library.JSONWebHelper.GetResponseWithoutException (System.String url, System.Object requestdata, System.String method) [0x00020] in :0 \n at Duplicati.Library.Backend.MicrosoftGraphBackend.SendRequest[T] (System.Net.Http.HttpMethod method, System.String url) [0x00032] in :0 \n at Duplicati.Library.Backend.MicrosoftGraphBackend.Get[T] (System.String url) [0x00006] in :0 \n at Duplicati.Library.Backend.MicrosoftGraphBackend+d__691[T].MoveNext () [0x0002b] in <dfa9574ee8124175856109d811c0b28b>:0 \n at Duplicati.Library.Backend.MicrosoftGraphBackend+<List>d__53.MoveNext () [0x00187] in <dfa9574ee8124175856109d811c0b28b>:0 \n at System.Collections.Generic.List
1[T].AddEnumerable (System.Collections.Generic.IEnumerable1[T] enumerable) [0x00059] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Collections.Generic.List
1[T]…ctor (System.Collections.Generic.IEnumerable1[T] collection) [0x00062] in <36514b14425c4337b446653c547aa9c3>:0 \n at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable
1[T] source) [0x00018] in <14c1495deda74532849f8ec10b438611>:0 \n at Duplicati.Library.Main.BackendManager.DoList (Duplicati.Library.Main.BackendManager+FileEntryItem item) [0x0001c] in :0 \n at Duplicati.Library.Main.BackendManager.ThreadRun () [0x00108] in :0 ",“RemoteStackTraceString”:null,“RemoteStackIndex”:0,“ExceptionMethod”:null,“HResult”:-2146233088,“Source”:“Duplicati.Library.OAuthHelper”}>