Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error fetching base onedrive url #5

Open
PinnacleCoders opened this issue May 9, 2018 · 0 comments
Open

Error fetching base onedrive url #5

PinnacleCoders opened this issue May 9, 2018 · 0 comments

Comments

@PinnacleCoders
Copy link

PinnacleCoders commented May 9, 2018

Hello,
I keep getiing an empty base url for onedrive.

// In GetOneDriveClientAsync(OneDriveUser user)
// Resolve the API URL for this user always returns null
                user.OneDriveBaseUrl = await LookupOneDriveUrl(user);

because of which I get an exception "Unable to parse base Url"


public OneDriveAccountServiceProvider(OneDriveUser user)
        {
           
// Always throws error
            if (!Uri.TryCreate(user.OneDriveBaseUrl, UriKind.Absolute, out baseUrl))
            {
                throw new InvalidOperationException("Unable to parse base URL: " + user.OneDriveBaseUrl);
            }

Has anybody faced this issue? Any help will be much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant