© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•2y ago•
1 reply
Marvingg

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:
[{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 1161ms
[{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 1161ms


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!
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

using cloudflare r2 for supabase s3 storage
SupabaseSSupabase / help-and-questions
2y ago
Supabase Storage
SupabaseSSupabase / help-and-questions
4y ago
Supabase storage issue
SupabaseSSupabase / help-and-questions
7d ago
Supabase Storage error
SupabaseSSupabase / help-and-questions
3mo ago