Skip to content

Large file upload returns BadRequest #16

@tomko80

Description

@tomko80

Is the large file upload supported for personal accounts? I get the following:


PS C:\temp> Add-ODItemLarge -AccessToken $Auth.access_token -LocalFile "C:\temp\test.jpg" -Path "/Test"
Add-ODItemLarge : Upload error: BadRequest
Bad Request
At line:1 char:1
+ Add-ODItemLarge -AccessToken $Auth.access_token -LocalFile "C:\temp\t ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Add-ODItemLarge

-1
PS C:\temp> Add-ODItem -AccessToken $Auth.access_token -LocalFile "C:\temp\test.jpg" -Path "/Test"


StatusCode        : 201
StatusDescription : Created

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions