lavinir / hassio-onedrive-backup

MIT License
250 stars 7 forks source link

Upload doesnt work at all #209

Open pawellygan opened 5 months ago

pawellygan commented 5 months ago

Hassio is in Proxmox. OneDrive account as a part of Microsoft. Family plan. 1TB free

05/08/2024 11:37:26 [29] Info: Uploading 7.05 (05/07/2024 21:20:00) 05/08/2024 11:37:26 [29] Info: Fetching Local Backup (Slug:f0e613c7) 05/08/2024 11:37:27 [27] Info: Backup (f0e613c7) fetched successfully 05/08/2024 11:37:31 [27] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 228 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/08/2024 11:37:33 [26] Info: Reached Max Local Backups (2) 05/08/2024 11:37:33 [26] Info: Removing 1 local backups 05/08/2024 11:42:24 [28] Info: Found 1 backups to upload. 05/08/2024 11:42:24 [28] Info: Uploading hass_backup_2024-05-08-11-34 (05/08/2024 11:34:04) 05/08/2024 11:42:24 [28] Info: Fetching Local Backup (Slug:f11b8d2a) 05/08/2024 11:42:24 [33] Info: Backup (f11b8d2a) fetched successfully 05/08/2024 11:42:26 [28] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 228 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/08/2024 11:43:37 [32] Info: Uploading hass_backup_2024-05-08-11-34 (05/08/2024 11:34:04) 05/08/2024 11:43:37 [32] Info: Fetching Local Backup (Slug:f11b8d2a) 05/08/2024 11:43:37 [34] Info: Backup (f11b8d2a) fetched successfully 05/08/2024 11:43:38 [34] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 228 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/08/2024 11:46:46 [43] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 228 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 399 05/08/2024 11:47:27 [48] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 228 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 399 05/08/2024 11:47:37 [15] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 [1] Info: No new settings file. Attempting to restore from legacy configuration 05/08/2024 11:49:09 [4] Info: Anonymous Telemetry Disabled 05/08/2024 11:49:09 [4] Info: Backup interval configured to every 24 hours 05/08/2024 11:49:09 [4] Warning: Token cache is empty 05/08/2024 11:49:11 [12] Info: To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code L3QP6EH6J to authenticate. 05/08/2024 11:51:30 [18] Info: Found 1 backups to upload. 05/08/2024 11:51:30 [18] Info: Uploading hass_backup_2024-05-08-11-34 (05/08/2024 11:34:04) 05/08/2024 11:51:30 [18] Info: Fetching Local Backup (Slug:f11b8d2a) 05/08/2024 11:51:30 [13] Info: Backup (f11b8d2a) fetched successfully 05/08/2024 11:51:32 [13] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/08/2024 11:52:00 [17] Info: Uploading hass_backup_2024-05-08-11-34 (05/08/2024 11:34:04) 05/08/2024 11:52:00 [17] Info: Fetching Local Backup (Slug:f11b8d2a) 05/08/2024 11:52:00 [18] Info: Backup (f11b8d2a) fetched successfully 05/08/2024 11:52:01 [18] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/08/2024 11:56:31 [25] Info: Found 1 backups to upload. 05/08/2024 11:56:31 [16] Info: Uploading hass_backup_2024-05-08-11-34 (05/08/2024 11:34:04) 05/08/2024 11:56:31 [16] Info: Fetching Local Backup (Slug:f11b8d2a) 05/08/2024 11:56:31 [22] Info: Backup (f11b8d2a) fetched successfully 05/08/2024 11:56:32 [22] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/08/2024 11:56:59 [27] Info: Uploading hass_backup_2024-05-08-11-34 (05/08/2024 11:34:04) 05/08/2024 11:56:59 [27] Info: Fetching Local Backup (Slug:f11b8d2a) 05/08/2024 11:56:59 [22] Info: Backup (f11b8d2a) fetched successfully 05/08/2024 11:57:01 [17] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361

lavinir commented 4 months ago

What backup is it trying to upload ? Was it one created outside the addon ? The log in the beginning is showing the backup name as 7.05.

pawellygan commented 4 months ago

What backup is it trying to upload ? Was it one created outside the addon ? The log in the beginning is showing the backup name as 7.05.

it was backup after HA restore. Plugin can generate new backups (which he did overnight) but can't upload them to my one drive.

Screenshot 2024-05-09 at 09 27 50

'Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/09/2024 08:26:20 [11] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/09/2024 08:31:20 [24] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/09/2024 08:36:21 [31] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/09/2024 08:41:23 [32] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/09/2024 08:46:24 [36] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/09/2024 08:48:33 [43] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at '

lavinir commented 4 months ago

Could you change the Log Level to "Verbose" and send the following lines before upload:

  1. "Uploading {BACKUPNAME} {BACKUPDATE}"
  2. Backup Description: {DESCRIPTION}

The first one should be visible at "Info" level. Second one is only visible on "Verbose".

pawellygan commented 4 months ago

'Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/09/2024 12:22:13 [17] Verbose: Backup size to upload: 0.23GB 05/09/2024 12:22:13 [17] Info: Uploading hass_backup_2024-05-09-08-51 (05/09/2024 08:51:59) 05/09/2024 12:22:13 [17] Info: Fetching Local Backup (Slug:9da86b3e) 05/09/2024 12:22:13 [17] Info: Backup (9da86b3e) fetched successfully 05/09/2024 12:22:13 [17] Verbose: Backup Description: {"Slug":"9da86b3e","BackupDate":"2024-05-09T08:51:59.384608+01:00","InstanceName":null,"IsProtected":false,"Size":229.25,"BackupType":"partial","Addons":[],"Folders":["addons/local","share"]} 05/09/2024 12:22:15 [13] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361'

pawellygan commented 4 months ago

and for full backup:

Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/09/2024 12:30:45 [22] Verbose: Backup size to upload: 0.22GB 05/09/2024 12:30:45 [22] Info: Uploading hass_backup_2024-05-08-11-34 (05/08/2024 11:34:04) 05/09/2024 12:30:45 [22] Info: Fetching Local Backup (Slug:f11b8d2a) 05/09/2024 12:30:46 [23] Info: Backup (f11b8d2a) fetched successfully 05/09/2024 12:30:46 [23] Verbose: Backup Description: {"Slug":"f11b8d2a","BackupDate":"2024-05-08T11:34:04.674463+01:00","InstanceName":null,"IsProtected":false,"Size":216.28,"BackupType":"full","Addons":[],"Folders":["share","addons/local","ssl","media"]} 05/09/2024 12:30:47 [19] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/09/2024 12:31:16 [19] Verbose: File Sync Disabled...

d3nis798 commented 4 months ago

Hello,

I have the same issue here. But i installed the addoon today. I had never bevore this addon installed.

My verbose log looks like the same:

05/18/2024 19:28:46 [25] Info: Found 1 backups to upload. 05/18/2024 19:28:46 [25] Verbose: Backup size to upload: 2.24GB 05/18/2024 19:28:46 [25] Info: Uploading HA_backup_2024-05-18-19-08 (05/18/2024 19:08:32) 05/18/2024 19:28:46 [25] Info: Fetching Local Backup (Slug:ebbf8ba4) 05/18/2024 19:28:57 [14] Info: Backup (ebbf8ba4) fetched successfully 05/18/2024 19:29:11 [14] Verbose: Backup Description: {"Slug":"ebbf8ba4","BackupDate":"2024-05-18T19:08:32.184796+02:00","InstanceName":null,"IsProtected":true,"Size":2238.91,"BackupType":"partial","Addons":[],"Folders":["addons/local","ssl"]} 05/18/2024 19:29:11 [27] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/18/2024 19:29:12 [14] Verbose: Evaluating Online Generational Backups 05/18/2024 19:29:12 [14] Verbose: Found 0 OneDrive backups that can be removed (Generational Rules)

The Addon creates two folders on my onedrive. Apps Apps/Graph But the folders are empty i hope it helps

Thank You, regards Denis

pawellygan commented 4 months ago

Hello,

I have the same issue here. But i installed the addoon today. I had never bevore this addon installed.

My verbose log looks like the same:

05/18/2024 19:28:46 [25] Info: Found 1 backups to upload. 05/18/2024 19:28:46 [25] Verbose: Backup size to upload: 2.24GB 05/18/2024 19:28:46 [25] Info: Uploading HA_backup_2024-05-18-19-08 (05/18/2024 19:08:32) 05/18/2024 19:28:46 [25] Info: Fetching Local Backup (Slug:ebbf8ba4) 05/18/2024 19:28:57 [14] Info: Backup (ebbf8ba4) fetched successfully 05/18/2024 19:29:11 [14] Verbose: Backup Description: {"Slug":"ebbf8ba4","BackupDate":"2024-05-18T19:08:32.184796+02:00","InstanceName":null,"IsProtected":true,"Size":2238.91,"BackupType":"partial","Addons":[],"Folders":["addons/local","ssl"]} 05/18/2024 19:29:11 [27] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361 05/18/2024 19:29:12 [14] Verbose: Evaluating Online Generational Backups 05/18/2024 19:29:12 [14] Verbose: Found 0 OneDrive backups that can be removed (Generational Rules)

The Addon creates two folders on my onedrive. Apps Apps/Graph But the folders are empty i hope it helps

Thank You, regards Denis

I gave up this add on. Looks like the developer doesn't have any plan to fix it.

lavinir commented 4 months ago

I have plans to fix any / every issue with the addon not functioning properly. Just been very busy with work last few weeks. Also, this seems like an underlying error in the Microsoft graph libraries with unfortunately, a non informative error making it pretty hard to diagnose. I have attempted to reproduce this on some theories but haven't been successful thus far.

@d3nis798 - The folders in your OneDrive do not look right. You should have Apps/hassio-onedrive-backup Graph is not something this addon is creating. Do you not see the onedrive backup folder under Apps ?

d3nis798 commented 4 months ago

I have plans to fix any / every issue with the addon not functioning properly. Just been very busy with work last few weeks. Also, this seems like an underlying error in the Microsoft graph libraries with unfortunately, a non informative error making it pretty hard to diagnose. I have attempted to reproduce this on some theories but haven't been successful thus far.

@d3nis798 - The folders in your OneDrive do not look right. You should have Apps/hassio-onedrive-backup Graph is not something this addon is creating. Do you not see the onedrive backup folder under Apps ?

No I have only this 2 folders. I do not have created the folder graph this is also created by this addon. I have deleted the main „Apps“ folder and restart the addon then it crates both folders.

T030288 commented 4 months ago

Have exactly the same problem:

05/28/2024 20:15:59 [11] Verbose: Backup size to upload: 0.99GB 05/28/2024 20:15:59 [11] Info: Uploading hass_backup_2024-05-28-19-53 (05/28/2024 19:53:17) 05/28/2024 20:15:59 [11] Info: Fetching Local Backup (Slug:1ff47869) 05/28/2024 20:16:00 [11] Info: Backup (1ff47869) fetched successfully 05/28/2024 20:16:00 [11] Verbose: Backup Description: {"Slug":"1ff47869","BackupDate":"2024-05-28T19:53:17.958757+02:00","InstanceName":null,"IsProtected":false,"Size":994.15,"BackupType":"full","Addons":[],"Folders":["share","addons/local","ssl","media"]} 05/28/2024 20:16:01 [6] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361

On onedrive new folder Apps with Graph (created during add-on startup)

wimpie007 commented 4 months ago

same here. no uploads possible.fresh install.

lavinir commented 4 months ago

So @T030288 , @wimpie007 - For both of you the only folders you see in your OneDrive under the Apps folder is "Graph" ? Are these regular Personal OneDrive accounts ?

pawellygan commented 4 months ago

So @T030288 , @wimpie007 - For both of you the only folders you see in your OneDrive under the Apps folder is "Graph" ? Are these regular Personal OneDrive accounts ?

for my OneDrive on Family Plan it looks like this:

Screenshot 2024-06-03 at 14 51 37
d3nis798 commented 4 months ago

I have Family Plan to. My folder: (inside the Graph folder are no files and diretories) image

wimpie007 commented 4 months ago

image identical situation here. Graph folder is empty. personal account.

lavinir commented 4 months ago

Something does not add up. The folder name that should be created for Personal accounts is automatically created using the application name. Could you please go to the app permissions in your MS account here

Fine hassio-onedrive-backup in the list and look at the details: image

Should look like this: image

Please share what you see there.

wimpie007 commented 4 months ago

@lavinir it looks like yours (only in dutch ;) ) image hassio-onedrive-backup can create, delete,... files.

lavinir commented 4 months ago

Thanks, I was mostly interested in the first permission noting that the access is to the "app's folder" Let's try one more thing and if it still does not create the appropriate folder I think the next step is to open an Issue with Microsoft's Graph SDK.

Would you try disabling the app permissions (Delen Stoppen :)) and then reauthenticating in the addon. Then see if the correct folder is created. If not I'll move to open an issue but will probably need your help with some of the details.

wimpie007 commented 4 months ago

Tried it, but same error06/04/2024 20:13:08 [10] Info: To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code xxxxxxxx to authenticate. 06/04/2024 20:15:14 [16] Info: Found 1 backups to upload. 06/04/2024 20:15:14 [16] Info: Uploading hass_backup_2024-06-02-22-37 (06/02/2024 22:37:12) 06/04/2024 20:15:14 [16] Info: Fetching Local Backup (Slug:495eeeb2) 06/04/2024 20:15:14 [16] Info: Backup (495eeeb2) fetched successfully 06/04/2024 20:15:17 [17] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361

lavinir commented 3 months ago

And the folders in OneDrive under /apps remained the same ? Just Graph ? Could you please try one more thing - Turn on File Sync for some folder. Can contain just a small file. I want to see what happens when it tries to upload that.

I will try to open an Issue with the MS Graph SDK and see what traction I can get there.

ronald-winter commented 3 months ago

Sorry. I opened a topic in the discussions section before I found thiss issue. Please close or delete.

Same behaviour here: I am always geting an error trying to upload to OneDrive.

Log:

06/11/2024 13:28:06 [43] Info: Found 1 backups to upload.
06/11/2024 13:28:06 [43] Info: Uploading hass_backup_2024-06-10-17-23 (06/10/2024 17:23:15)
06/11/2024 13:28:06 [43] Info: Fetching Local Backup (Slug:e58633ca)
06/11/2024 13:28:06 [45] Info: Backup (e58633ca) fetched successfully
06/11/2024 13:28:09 [45] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request
   at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary`2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken)
   at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory`1 factory, Dictionary`2 errorMapping, CancellationToken cancellationToken)
   at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory`1 factory, Dictionary`2 errorMapping, CancellationToken cancellationToken)
   at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action`1 requestConfiguration, CancellationToken cancellationToken)
   at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action`2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 228
   at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action`2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 399

I've checked in my microsoft account that hassio-onedrive-backup hast got full access to my OneDrive user folder. image

I am on a family plan with 1TB of space. Contend of off Apps folder is just an empty Graph folder.

Any ideas?

wimpie007 commented 3 months ago

@lavinir i dont quit understand what you mean by "Could you please try one more thing - Turn on File Sync for some folder. Can contain just a small file. I want to see what happens when it tries to upload that." Creating a file in Apps and graph dir didnt help either (except for a warning in the log that there is an unknown file, so it can read the content for sure)

SmaugBoggs commented 3 months ago

I'm also experiencing the same issue it looks like. My logs look pretty similar to the above but I'll put them in here in case it's helpful at all.

06/21/2024 06:43:29 [19] Info: Found 2 backups to upload. 06/21/2024 06:43:29 [19] Verbose: Backup size to upload: 0.01GB 06/21/2024 06:43:29 [19] Info: Uploading hass_backup_2024-06-21-06-35 (06/21/2024 06:35:08) 06/21/2024 06:43:29 [19] Info: Fetching Local Backup (Slug:8da8dd68) 06/21/2024 06:43:29 [12] Info: Backup (8da8dd68) fetched successfully 06/21/2024 06:43:29 [12] Verbose: Backup Description: {"Slug":"8da8dd68","BackupDate":"2024-06-21T06:35:08.379207-05:00","InstanceName":null,"IsProtected":false,"Size":9.76,"BackupType":"full","Addons":[],"Folders":["share","addons/local","ssl","media"]} 06/21/2024 06:43:30 [12] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361

dsumin commented 2 months ago

Same here, hassio-onedrive-backup folder not created, Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request in logs.

lavinir commented 2 months ago

@wimpie007 - I mean, i just want to make sure if uploads are working at all or if this is just the backups that are failing. The addon has the ability to sync files to OneDrive (outside of Backups). I'm interested to see if files can be uploaded at all. You can enable this in the addon settings and select a local path to sync. You can just add a single file there and let it sync.

lavinir commented 2 months ago

Regardless, I went ahead and opened a bug on the Graph SDK repo. Will update on progress as it comes.

ronald-winter commented 2 months ago

@lavinir . It seems that @wimpie007 doesn't know how to follow your request. And to be honest, I am not sure if I understood it right. I am willing to help if you give exact instructions what has to be done.

I understood it like that:

But now I can not see this file in the app anywhere. How do I triger the upload to OneDrive?

BTW: Inside my backup folders are just cryptical named .tar files. the filenames shown in the app can not be found there. Am I searching in the wrong folder?

Backup OneDrive_Backup

lavinir commented 2 months ago

@ronald-winter - I'm tracking an issue with the MS Graph repo. Could you maybe help with some information - Could you share the Backup Name you are using and the Instance Name (if any)

ronald-winter commented 2 months ago

Hi there,I'm using the default backup name, hass_backup (all lower case), followed by date and time. For example: hass_backup_2024-08-05-12-57No instance name.Mit freundlichen Grüßen,Ronald Winter-------- Ursprüngliche Nachricht --------Von: lavinir @.>Datum: Mo., 5. Aug. 2024, 14:58An: lavinir/hassio-onedrive-backup @.>Cc: ronald-winter @.>, Mention @.>Betreff: Re: [lavinir/hassio-onedrive-backup] Upload doesnt work at all (Issue #209) @ronald-winter - I'm tracking an issue with the MS Graph repo. Could you maybe help with some information - Could you share the Backup Name you are using and the Instance Name (if any)

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

mist1971 commented 1 month ago

Hi, This topic seems to address a very similar issue https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2335

/Michael

hushemflupskluk commented 1 month ago

Hello everybody! Today I managed to install and start up the automatic hassio onedrive backup. I also have an issue with uploading the backup file from the local device (home assistant green) to the onedrive location on a cloud. When I triggered a backup it worked but it only created a backup on the local device (home assistant green). When I tried to upload it to Microsoft One Drive it did not work.

https://github.com/user-attachments/assets/35024d47-315b-41e0-953b-818c0e117fc4

Log verbose;

08/24/2024 19:01:10 [88] Verbose: File Sync Disabled... 08/24/2024 19:01:48 [88] Verbose: Backup size to upload: 0.44GB 08/24/2024 19:01:48 [88] Info: Uploading hass_backup_2024-08-24-18-34 (08/24/2024 18:34:59) 08/24/2024 19:01:48 [88] Info: Fetching Local Backup (Slug:9b885581) 08/24/2024 19:01:51 [47] Info: Backup (9b885581) fetched successfully 08/24/2024 19:01:54 [47] Verbose: Backup Description: {"Slug":"9b885581","BackupDate":"2024-08-24T18:34:59.833158+02:00","InstanceName":null,"IsProtected":false,"Size":441.45,"BackupType":"full","Addons":[],"Folders":["share","addons/local","ssl","media"]} 08/24/2024 19:01:56 [43] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 228 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 399 08/24/2024 19:02:25 [43] Verbose: Checking backups 08/24/2024 19:02:25 [43] Verbose: Refreshing existing backups... 08/24/2024 19:02:25 [43] Verbose: Backup Interval Completed. 08/24/2024 19:02:25 [43] Verbose: Ignoring 'External' backup: addon_5c53de3b_esphome_2024.7.3 08/24/2024 19:02:26 [47] Verbose: Last local backup Date: 08/24/2024 18:34:59 08/24/2024 19:02:26 [47] Verbose: Last online backup Date: None 08/24/2024 19:02:26 [47] Info: Found 1 backups to upload. 08/24/2024 19:02:26 [43] Verbose: Backup size to upload: 0.44GB 08/24/2024 19:02:26 [43] Info: Uploading hass_backup_2024-08-24-18-34 (08/24/2024 18:34:59) 08/24/2024 19:02:26 [43] Info: Fetching Local Backup (Slug:9b885581) 08/24/2024 19:02:29 [43] Info: Backup (9b885581) fetched successfully 08/24/2024 19:02:32 [43] Verbose: Backup Description: {"Slug":"9b885581","BackupDate":"2024-08-24T18:34:59.833158+02:00","InstanceName":null,"IsProtected":false,"Size":441.45,"BackupType":"full","Addons":[],"Folders":["share","addons/local","ssl","media"]} 08/24/2024 19:02:33 [43] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 228 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 399 08/24/2024 19:02:34 [81] Verbose: Ignoring 'External' backup: addon_5c53de3b_esphome_2024.7.3

I understand that lavinir is busy with a full time job. Please fix this issue so that I can upload backup files to my Microsoft One Drive space automatically dayly.

scrome1337 commented 1 month ago

same issue her, installed the onedrive backup addon on my 2nd home assistant instance (with a different onedrive acc) and now getting this error too. Old instance still works like a charm. Also noticed that the folder on my main instance onedrive is named "Anwendungen" which means "Apps" in german. On the fresh onedrive/HA-instance it is named "Apps" idk why because the onedrive account is in german too.

jpullen88 commented 1 month ago

Same issue. Deleting apps just recreated it with only Graph subfolder as others have stated.

I also tried renaming graph to hassio-onedrive-backup. No luck.

Permissions are as you said with OneDrive.

Tried doing the local file upload. Not sure if I did this properly. In the settings I put /test/ and in File Editor I created a test folder and a text file within. Nothing uploaded.

Has anyone tried an older version? I'm not really sure how to test that within HAOS.

chriszuercher commented 1 month ago

I face the same issue as mentioned in this bug. The Apps fodder is created, it contains an empty Graph folder but not hassio-onedrive-backup. I noticed you are using .net 7 and an older version of the Graph library. Did you try switching to the latest versions (or net 8 as this is LTS?)? Not sure if it helps as I didn't analyze the changelog 😉

The error in the log is:

09/01/2024 20:37:01 [29] Info: Creating new backup
09/01/2024 20:37:01 [29] Info: Starting full local backup
09/01/2024 20:37:01 [25] Verbose: Checking backups
09/01/2024 20:37:01 [25] Verbose: Refreshing existing backups...
09/01/2024 20:37:01 [25] Verbose: Backup Interval Completed.
09/01/2024 20:37:01 [25] Verbose: Ignoring 'External' backup: core_2024.7.2
09/01/2024 20:37:01 [25] Verbose: Ignoring 'External' backup: core_2024.7.2
09/01/2024 20:37:01 [25] Verbose: Ignoring 'External' backup: core_2024.7.2
09/01/2024 20:37:02 [25] Verbose: Last local backup Date: 09/01/2024 20:10:58
09/01/2024 20:37:02 [25] Verbose: Last online backup Date: None
09/01/2024 20:37:02 [25] Info: Found 1 backups to upload.
09/01/2024 20:37:02 [29] Verbose: Backup size to upload: 0.04GB
09/01/2024 20:37:02 [29] Info: Uploading hass_backup_2024-09-01-20-10 (09/01/2024 20:10:58)
09/01/2024 20:37:02 [29] Info: Fetching Local Backup (Slug:e799478d)
09/01/2024 20:37:07 [28] Info: Backup (e799478d) fetched successfully
09/01/2024 20:37:07 [28] Verbose: Backup Description: {"Slug":"e799478d","BackupDate":"2024-09-01T20:10:58.079475+02:00","InstanceName":"","IsProtected":true,"Size":36.81,"BackupType":"full","Addons":[],"Folders":["share","addons/local","ssl","media"]}
09/01/2024 20:37:09 [28] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request
   at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary`2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken)
   at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory`1 factory, Dictionary`2 errorMapping, CancellationToken cancellationToken)
   at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory`1 factory, Dictionary`2 errorMapping, CancellationToken cancellationToken)
   at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action`1 requestConfiguration, CancellationToken cancellationToken)
   at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action`2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161
   at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action`2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361
kevindt commented 1 month ago

Exactly the same problem here. Local backups created fine. No backups uploaded. All permissions on OneDrive as you show. Apps folder only contains an empty folder named "Graph", no sign of hassio-onedrive-backup folder.

lavinir commented 1 month ago

I'm still trying to chase down the reason for this with the Graph SDK. @scrome1337, this is helpful - Are you able to test the working onedrive account on the same device just to isolate the problem to make sure it's not related to the specific setup / architecture ?

scrome1337 commented 3 weeks ago

I'm still trying to chase down the reason for this with the Graph SDK. @scrome1337, this is helpful - Are you able to test the working onedrive account on the same device just to isolate the problem to make sure it's not related to the specific setup / architecture ?

Sorry what should I do to test this? The 2nd HA installation is for a different appartment. Both installations are running on the same hardware (rpi5_8gb) both with a external ssd. It‘s the exact same setup for both.

lavinir commented 3 weeks ago

Sorry what should I do to test this? The 2nd HA installation is for a different appartment. Both installations are running on the same hardware (rpi5_8gb) both with a external ssd. It‘s the exact same setup for both.

Until now, I thought something specific in the setup / data being sent was causing the error. If this is a completely seperate HA installation it may still be the case but because you have 2 accounts and one is working and the other isn't, it would really help pinpoint if the issue is account related somehow.

If you could try to switch OneDrive accounts on one of your instances, keeping the same other settings and see what happens

  1. If you switch on the working instance and it stops working
  2. If you switch on the none working instance and it starts working.

Hope that was clear :)

5t3v3y commented 3 weeks ago

Also having same issue. Creates local backup but doesnt upload it. Here is the extract from the log which looks pretty much like what others have posted. Will keep an eye on this in the hope a fix comes along at some point. Thanks

09/09/2024 22:18:25 [36] Info: Found 1 backups to upload. 09/09/2024 22:18:25 [36] Info: Uploading hass_backup_2024-09-09-21-33 (09/09/2024 21:33:11) 09/09/2024 22:18:25 [36] Info: Fetching Local Backup (Slug:38bec4a5) 09/09/2024 22:18:43 [38] Info: Backup (38bec4a5) fetched successfully [1] Info: No new settings file. Attempting to restore from legacy configuration 09/09/2024 22:18:53 [4] Info: Anonymous Telemetry Disabled 09/09/2024 22:18:53 [4] Info: Backup interval configured to every 24 hours 09/09/2024 22:18:56 [6] Info: Found 1 backups to upload. 09/09/2024 22:18:56 [10] Info: Uploading hass_backup_2024-09-09-21-33 (09/09/2024 21:33:11) 09/09/2024 22:18:56 [10] Info: Fetching Local Backup (Slug:38bec4a5) 09/09/2024 22:19:18 [15] Info: Backup (38bec4a5) fetched successfully 09/09/2024 22:19:27 [15] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.ThrowIfFailedResponse(HttpResponseMessage response, Dictionary2 errorMapping, Activity activityForAttributes, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Kiota.Http.HttpClientLibrary.HttpClientRequestAdapter.SendAsync[ModelType](RequestInformation requestInfo, ParsableFactory1 factory, Dictionary2 errorMapping, CancellationToken cancellationToken) at Microsoft.Graph.Drives.Item.Items.Item.CreateUploadSession.CreateUploadSessionRequestBuilder.PostAsync(CreateUploadSessionPostRequestBody body, Action1 requestConfiguration, CancellationToken cancellationToken) at hassio_onedrive_backup.Graph.GraphHelper.UploadFileAsync(String filePath, DateTime date, String instanceName, TransferSpeedHelper transferSpeedHelper, String destinationFileName, Action2 progressCallback, Boolean flatten, String description) in /src/Graph/GraphHelper.cs:line 161 at hassio_onedrive_backup.Hass.BackupManager.UploadLocalBackupToOneDrive(Backup backup, Action2 progressCallback, Boolean updateHassEntityState) in /src/Hass/BackupManager.cs:line 361

scrome1337 commented 3 weeks ago

Sorry what should I do to test this? The 2nd HA installation is for a different appartment. Both installations are running on the same hardware (rpi5_8gb) both with a external ssd. It‘s the exact same setup for both.

Until now, I thought something specific in the setup / data being sent was causing the error. If this is a completely seperate HA installation it may still be the case but because you have 2 accounts and one is working and the other isn't, it would really help pinpoint if the issue is account related somehow.

If you could try to switch OneDrive accounts on one of your instances, keeping the same other settings and see what happens

  1. If you switch on the working instance and it stops working
  2. If you switch on the none working instance and it starts working.

Hope that was clear :)

I switched the none working instance over to the ondrive account which used to work on my main acc. And it works, at least it's now showing a upload which it never did before (internet on the 2nd instance is very slow, so i can tell you in a few hours if everything worked fine) CleanShot 2024-09-10 at 00 00 27@2x

This one is my main instance CleanShot 2024-09-10 at 00 02 24@2x

I just noticed that there is something buggy too... i've set it to 14 onedrive backups. And i know for sure that this used to work fine. But i know checked my onedrive folder, and there are more backups... older backups. (yes i checked those backups and they are all from my main instance going all the way back to the beginning of august...) CleanShot 2024-09-10 at 00 03 48@2x

chriszuercher commented 2 weeks ago

Could this be related to the set account culture? For example, my account is set to Swiss German so the Apps folder would be "Anwendungen" while in English it is "Apps". We once face problems like this in an Outlook integration (because Sent is set and stored as Gesendet in German Accounts). Maybe this is similar in OneDrive?

jpullen88 commented 2 weeks ago

Could this be related to the set account culture? For example, my account is set to Swiss German so the Apps folder would be "Anwendungen" while in English it is "Apps". We once face problems like this in an Outlook integration (because Sent is set and stored as Gesendet in German Accounts). Maybe this is similar in OneDrive?

Fyi, I'm using American English. Facing same issue.

jhebb-hass commented 1 week ago

German OneDrive account for me. But my "Apps" folder is really called "Apps".

Only "Graph" folder inside it vissible, no hassio-onedrive-backup and no backups are inserted.

lavinir commented 1 week ago

@scrome1337 - Thanks for testing! Can you confirm using the other account on the none working instance works properly? Were you also able to test the reverse ? Switching the account on the working instance to see if it stops working ?

scrome1337 commented 1 week ago

@scrome1337 - Thanks for testing! Can you confirm using the other account on the none working instance works properly? Were you also able to test the reverse ? Switching the account on the working instance to see if it stops working ?

Yes, it works on my 2nd HA instance with the onedrive account which worked on my main instance too.

It does not work for me reverse. Another thing that's different from the main account is that i have no active subscription on the 2nd microsoft account but i doubt that this is the issue

Th1234567 commented 1 week ago

@scrome1337 - Thanks for testing! Can you confirm using the other account on the none working instance works properly? Were you also able to test the reverse ? Switching the account on the working instance to see if it stops working ?

Yes, it works on my 2nd HA instance with the onedrive account which worked on my main instance too.

It does not work for me reverse. Another thing that's different from the main account is that i have no active subscription on the 2nd microsoft account but i doubt that this is the issue

I have the same problem with an account that doesn't have an active subscription. I have now changed it so that my subscription automatically renews, but it doesn't make a difference. The error is still there.

virtualjoe commented 1 day ago

Same issue over here sadly... Tried 2 different onedrive accounts, same issue.

[63] Error: Error uploading backup: Microsoft.Graph.Models.ODataErrors.ODataError: Invalid request

stevedavis1234 commented 1 day ago

I'm a bit new to HA so thought I was doing something wrong, until I found this issue, which describes my problem exactly. Same log error, Family plan, etc. Would love a fix as my NAS > Onedrive has stopped working as well!

Shadow-230 commented 1 day ago

@lavinir what is the version of Microsoft Graph that you use? Seams that version 5.41 or an upgrade to 5.52 is solving the issue.

stevedavis1234 commented 21 hours ago

Hi. I'm not sure what Microsoft Graph is. I use Microsoft 365 Family which gives 6 accounts with 1Tb OneDrive storage. I think this is falling under the "business not supported" as I guess they are both paid subscriptions, but this one is just for my family use.

Your software has scheduled my backups tho so that's a big improvement for me!! Thanks for that. Steve

On Fri, 4 Oct 2024, 23:18 Shadow-230, @.***> wrote:

@lavinir https://github.com/lavinir what is the version of Microsoft Graph that you use?

— Reply to this email directly, view it on GitHub https://github.com/lavinir/hassio-onedrive-backup/issues/209#issuecomment-2394739464, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2LOW4YROOXLJ5ZCNHT3ASTZZ4H2VAVCNFSM6AAAAABHMXP4Q6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJUG4ZTSNBWGQ . You are receiving this because you commented.Message ID: @.***>