-
Notifications
You must be signed in to change notification settings - Fork 56
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
handlemultipartupload seems to no work #314
Comments
I cannot reproduce your issue, tested on:
CleanShot.2024-10-11.at.14.59.23.mp4 |
I copied and pasted the different APIs as well as the content of the blob.vue page into my project, and I’m still get the same error. I admit I don’t understand. Capture.video.du.2024-10-11.20-41-37.webmchrome devtool response {
"url": "/api/blob/multipart/create/GX010179.MP4",
"statusCode": 400,
"statusMessage": "",
"message": "[POST] \"https://XXXXXXXXXXXXX.pages.dev/api/_hub/blob/multipart/GX010179.MP4\": 404 Page not found: /api/_hub/blob/multipart/GX010179.MP4",
"stack": "<pre><span class=\"stack internal\">at createError (./node_modules/h3/dist/index.mjs:78:15)</span>\n<span class=\"stack internal\">at createHandler (./node_modules/@nuxthub/core/dist/runtime/blob/server/utils/blob.js:302:13)</span>\n<span class=\"stack internal\">at process.processTicksAndRejections (node:internal/process/task_queues:95:5)</span>\n<span class=\"stack internal\">at handler (./node_modules/@nuxthub/core/dist/runtime/blob/server/utils/blob.js:369:15)</span>\n<span class=\"stack internal\">at Object.handleMultipartUpload (./node_modules/@nuxthub/core/dist/runtime/blob/server/utils/blob.js:393:20)</span>\n<span class=\"stack\">at Object.handler (./server/api/blob/multipart/[action]/[...pathname].ts:2:1)</span>\n<span class=\"stack internal\">at async ./node_modules/h3/dist/index.mjs:1978:19</span>\n<span class=\"stack internal\">at async Object.callAsync (./node_modules/unctx/dist/index.mjs:72:16)</span>\n<span class=\"stack internal\">at async Object.callAsync (./node_modules/unctx/dist/index.mjs:72:16)</span>\n<span class=\"stack internal\">at async Server.toNodeHandle (./node_modules/h3/dist/index.mjs:2270:7)</span></pre>"
} EDIT: After some investigation,
$development: {
hub: {
remote: true
}
}, Wouldn't it be a url malformation error? what is |
Thank you so much for being so helpful on it, I can reproduce, will fix it quickly! Sorry about this! |
Hey @germsb Could you try with: pnpm add https://pkg.pr.new/nuxt-hub/core/@nuxthub/core@318 Then try again with |
Hello @atinux Capture.video.du.2024-10-14.12-23-04.webm |
Awesome ❤️ |
Hi @atinux, while using |
Without enabling
|
🙌 The error only appends when the filename contains spaces (ex: |
Could you test with 0.7.34 please? |
@atinux Problem solved thank you! |
Describe the bug
handlemultipartupload systematically returns an error
Steps to reproduce
Example in the doc or in the playground
PS: I use remote storage for dev, and everything works normally apart from this
The text was updated successfully, but these errors were encountered: