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 was archived by the owner on Apr 1, 2025. It is now read-only.
Describe the bug
Hi,
I'm trying to use Api's Copy method. But I am getting an InvalidOperationException. "An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set."
To Reproduce
Steps to reproduce the behavior:
Go to 'Demo Application', run and click on the Authorize button
Click on 'Copy' button
See error
at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request)
at KoenZomers.OneDrive.Api.OneDriveApi.<SendMessageReturnHttpResponse>d__142.MoveNext() in D:\workspace\labs\OneDriveAPI\Api\OneDriveApi.cs:line 2015
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at KoenZomers.OneDrive.Api.OneDriveApi.<SendMessageReturnBool>d__141.MoveNext() in D:\workspace\labs\OneDriveAPI\Api\OneDriveApi.cs:line 1973
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at KoenZomers.OneDrive.Api.OneDriveGraphApi.<CopyItemInternal>d__60.MoveNext() in D:\workspace\labs\OneDriveAPI\Api\OneDriveGraphApi.cs:line 794
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at KoenZomers.OneDrive.Api.OneDriveApi.<Copy>d__86.MoveNext() in D:\workspace\labs\OneDriveAPI\Api\OneDriveApi.cs:line 704
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at KoenZomers.OneDrive.Api.OneDriveApi.<Copy>d__85.MoveNext() in D:\workspace\labs\OneDriveAPI\Api\OneDriveApi.cs:line 692
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at KoenZomers.OneDrive.AuthenticatorApp.MainForm.<CopyButton_Click>d__27.MoveNext() in D:\workspace\labs\OneDriveAPI\Demo\MainForm.cs:line 376
ps: Create a file on the drive inside a "test"folder
Expected behavior
The created file should be copied into the folder
Screenshots
Versions (please complete the following information):
Describe the bug
Hi,
I'm trying to use Api's Copy method. But I am getting an InvalidOperationException. "An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set."
To Reproduce
Steps to reproduce the behavior:
ps: Create a file on the drive inside a "test"folder
Expected behavior
The created file should be copied into the folder
Screenshots



Versions (please complete the following information):