This issue had the same error and stack trace, but it was said to be resolved with an update:
opened 11:54AM - 21 May 19 UTC
closed 08:06PM - 16 Aug 20 UTC
pending user feedback
not reproducible
- [x] I have searched open and closed issues for duplicates.
----------------… ------------------------
## Environment info
- **Duplicati version**: 2.0.4.5_beta_2018-11-28
- **Operating system**: Ubuntu 18
- **Backend**: mega.nz
## Description
When testing the connection to mega.nz I get the error "ResourceExpired"
## Steps to reproduce
1. Add a backup with the storage type mega.nz
2. Provide your login and test the connection
- **Actual result**:
error
- **Expected result**:
success
## Debug log
```
CG.Web.MegaApiClient.ApiException: API response: ResourceExpired
at CG.Web.MegaApiClient.MegaApiClient.RequestCore[TResponse] (CG.Web.MegaApiClient.Serialization.RequestBase request, System.Byte[] key) [0x00132] in <b77b6a46b6b94e008d0d458c52698090>:0
at CG.Web.MegaApiClient.MegaApiClient.Request[TResponse] (CG.Web.MegaApiClient.Serialization.RequestBase request, System.Byte[] key) [0x00024] in <b77b6a46b6b94e008d0d458c52698090>:0
at CG.Web.MegaApiClient.MegaApiClient.Login (CG.Web.MegaApiClient.MegaApiClient+AuthInfos authInfos) [0x00037] in <b77b6a46b6b94e008d0d458c52698090>:0
at CG.Web.MegaApiClient.MegaApiClient.Login (System.String email, System.String password) [0x00009] in <b77b6a46b6b94e008d0d458c52698090>:0
at Duplicati.Library.Backend.Mega.MegaBackend.get_Client () [0x0000e] in <b4f95326982b44b59db3ece5ce06b53b>:0
at Duplicati.Library.Backend.Mega.MegaBackend.GetCurrentFolder (System.Boolean autocreate) [0x00020] in <b4f95326982b44b59db3ece5ce06b53b>:0
at Duplicati.Library.Backend.Mega.MegaBackend.ResetFileCache (System.Collections.Generic.IEnumerable`1[T] list) [0x00008] in <b4f95326982b44b59db3ece5ce06b53b>:0
at Duplicati.Library.Backend.Mega.MegaBackend.List () [0x00008] in <b4f95326982b44b59db3ece5ce06b53b>:0
at Duplicati.Library.Interface.BackendExtensions.TestList (Duplicati.Library.Interface.IBackend backend) [0x00000] in <cad0aa948bd5428e9683582f0d34e521>:0
at Duplicati.Library.Backend.Mega.MegaBackend.Test () [0x00000] in <b4f95326982b44b59db3ece5ce06b53b>:0
at Duplicati.Server.WebServer.RESTMethods.RemoteOperation.TestConnection (System.String url, Duplicati.Server.WebServer.RESTMethods.RequestInfo info) [0x000b7] in <fe28905ee30b422e8d475f1cfdb85515>:0
at Duplicati.Server.WebServer.RESTMethods.RemoteOperation.POST (System.String key, Duplicati.Server.WebServer.RESTMethods.RequestInfo info) [0x00091] in <fe28905ee30b422e8d475f1cfdb85515>:0
at Duplicati.Server.WebServer.RESTHandler.DoProcess (Duplicati.Server.WebServer.RESTMethods.RequestInfo info, System.String method, System.String module, System.String key) [0x00280] in <fe28905ee30b422e8d475f1cfdb85515>:0
```
There is also this forum post:
If i try to define a Mega.nz backup destination I get error when click on “check connection” that says: Failed to connect: API response: ResourceExpired
In Duplicati log appears message:
Request for http://localhost:8200/api/v1/remoteoperation/test gave error
CG.Web.MegaApiClient.ApiException: API response: ResourceExpired
en CG.Web.MegaApiClient.MegaApiClient.RequestCore[TResponse](RequestBase request, Byte key)
en CG.Web.MegaApiClient.MegaApiClient.Request[TResponse](RequestBase request, …
Neither of those seem to indicate a connection to the file sizes, but maybe nobody ever noticed. If you can reliably reproduce the error, you might be up to something.
It might help others to reproduce if you post your job configuration (without passwords and other sensitive data).