Supabase S3 Storage - StorageUnknownError code: -32603
Hey there!
I'm facing some issues with my uploadUrl/File service with Supabase Storage.
I'm getting the following error:
I am having a hard time identifying if it's a ENV issue, or something else.
Anybody here faced a similar issue?
Stack: Next.js 14, Postgre SQL, Prisma
thanks!
I'm facing some issues with my uploadUrl/File service with Supabase Storage.
I'm getting the following error:
[{error: {json: {message: "Could not get signed url", code: -32603,…}}}]
0
:
{error: {json: {message: "Could not get signed url", code: -32603,…}}}
error
:
{json: {message: "Could not get signed url", code: -32603,…}}
Error creating signed upload URL: StorageUnknownError: Unexpected token '<', "<?xml vers"... is not valid JSON
web:dev: at eval (webpack-internal:///(rsc)/../../node_modules/.pnpm/@supabase+storage-js@2.5.5/node_modules/@supabase/storage-js/dist/module/lib/fetch.js:31:20)
web:dev: at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
web:dev: __isStorageError: true,
web:dev: originalError: SyntaxError: Unexpected token '<', "<?xml vers"... is not valid JSON
web:dev: at JSON.parse (<anonymous>)
web:dev: at parseJSONFromBytes (node:internal/deps/undici/undici:4306:19)
web:dev: at successSteps (node:internal/deps/undici/undici:4288:27)
web:dev: at fullyReadBody (node:internal/deps/undici/undici:2724:9)
web:dev: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
web:dev: at async consumeBody (node:internal/deps/undici/undici:4297:7)
web:dev: }
web:dev: POST /api/uploads.signedUploadUrl?batch=1 500 in 1161msI am having a hard time identifying if it's a ENV issue, or something else.
Anybody here faced a similar issue?
Stack: Next.js 14, Postgre SQL, Prisma
thanks!