Getting error 5404 image not found when uploading in production

I’m trying to upload an image using direct image upload, which works locally perfectly fine.
But when I do it on the server, it fails with error 5404 Image not found; the requests are basically the same besides the website in production running on HTTPS.

Local request (working)

POST /MTmKDDIV.../a2db61aa-97ba-4c0b-daf3... HTTP/3
Host: upload.imagedelivery.net
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0
Accept: */*
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate, br, zstd
Referer: http://localhost:3000/
Content-Type: multipart/form-data; boundary=---------------------------80176967626579846972695652578
Content-Length: 9970
Origin: http://localhost:3000
Connection: keep-alive
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
Priority: u=4

body:

-----------------------------80176967626579846972695652578
Content-Disposition: form-data; name="file"; filename="meow_boop.png"
Content-Type: image/png

‰PNG


STRIPPED TO SAVE LENGTH
-----------------------------80176967626579846972695652578--

Production requests (fails):

POST /MTmKDDIV.../d4d44da2-9a18-4e96... HTTP/3
Host: upload.imagedelivery.net
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0
Accept: */*
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate, br, zstd
Referer: https://DOMAIN.com/
Content-Type: multipart/form-data; boundary=---------------------------31153872755171023082649001085
Content-Length: 9970
Origin: https://DOMAIN.com
Connection: keep-alive
Sec-Fetch-Dest: empty
Sec-Fetch-Mode: cors
Sec-Fetch-Site: cross-site
Priority: u=4

body:

-----------------------------31153872755171023082649001085
Content-Disposition: form-data; name="file"; filename="meow_boop.png"
Content-Type: image/png

‰PNG


STRIPPED TO SAVE LENGTH
-----------------------------31153872755171023082649001085--

help :smiling_face_with_tear:

This topic was automatically closed after 15 days. New replies are no longer allowed.