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
Create a cloud storage trigger that copies or moves the object to another location
Setup the cloud storage and functions emulator environment
Upload a file to the storage emulator and review the logs
[REQUIRED] Expected behavior
The object can be copied or moved to a different location in the same bucket.
[REQUIRED] Actual behavior
The triggered function encounters an error, it receives an HTTP Not Implemented response from the storage emulator.
function[europe-west3-storageFinalise]
Error: file#copy failed with an error - Not Implemented
at new ApiError (C:\Users\Marcus\[...]\functions\node_modules\.pnpm\@google-cloud+common@3.7.1\node_modules\@google-cloud\common\build\src\util.js:73:15)
at Util.parseHttpRespMessage (C:\Users\Marcus\[...]\functions\node_modules\.pnpm\@google-cloud+common@3.7.1\node_modules\@google-cloud\common\build\src\util.js:175:41)
at Util.handleResp (C:\Users\Marcus\[...]\functions\node_modules\.pnpm\@google-cloud+common@3.7.1\node_modules\@google-cloud\common\build\src\util.js:149:76)
at C:\Users\Marcus\[...]\functions\node_modules\.pnpm\@google-cloud+common@3.7.1\node_modules\@google-cloud\common\build\src\util.js:477:22
at onResponse (C:\Users\Marcus\[...]\functions\node_modules\.pnpm\retry-request@4.2.2\node_modules\retry-request\index.js:228:7)
at C:\Users\Marcus\[...]\functions\node_modules\.pnpm\teeny-request@7.1.1\node_modules\teeny-request\build\src\index.js:226:13
at processTicksAndRejections (internal/process/task_queues.js:95:5)
The cloud storage emulator is very new, is copying files supported from the admin SDK or is it a very basic implementation for serving files to the client?
The text was updated successfully, but these errors were encountered:
It is not currently support, as a rule of thumb, if you can do it in the Firebase client SDK then the same admin methods will also work, but things like moving files (which are admin / Google Cloud API endpoints) are not, but I'll make a note that this is something that is being attempted for when we work to expand the Cloud API surface compatibility.
[REQUIRED] Environment info
firebase-tools: 9.18.0
Platform: Windows
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
[REQUIRED] Expected behavior
The object can be copied or moved to a different location in the same bucket.
[REQUIRED] Actual behavior
The triggered function encounters an error, it receives an HTTP Not Implemented response from the storage emulator.
The cloud storage emulator is very new, is copying files supported from the admin SDK or is it a very basic implementation for serving files to the client?
The text was updated successfully, but these errors were encountered: