adobe / aio-lib-files

An abstraction on top of cloud blob storage exposing a file system like API
https://www.adobe.io
Apache License 2.0
10 stars 14 forks source link

files.copy returns 414 for own storage #72

Closed UrsBoller closed 3 years ago

UrsBoller commented 3 years ago

Expected Behaviour

I want to copy a file from one folder to another using files.copy and my own storage account (azure)

Actual Behaviour

files works as expected with own credentials. but when I try to copy a file from folderA to folderB I just get an error as follow [FilesLib:ERROR_INTERNAL] unknown error response from provider with status: 414

Reproduce Scenario (including but not limited to)

here is the sample code I try to run (the source file exists) await files.copy('folderA/myFile.json','folderB/')

Steps to Reproduce

1) init files using own azure storage account 2) try to copy a file

Platform and Version

using "@adobe/aio-lib-files": "^1.2.3"

Sample Code that illustrates the problem

await files.copy('folderA/myFile.json','folderB/')

Logs taken while reproducing problem

error: [FilesLib:ERROR_INTERNAL] unknown error response from provider with status: 414

UrsBoller commented 3 years ago

issue solved, the error was sitting in front of the computer ...

meryllblanchet commented 3 years ago

@UrsBoller , you're getting faster than us to solve issues! ;-)