Theo's Typesafe CultTTC
Theo's Typesafe Cult10mo ago
11 replies
poeyer

UploadThing callback issue (status -1)

Hi,

I'm having the following problem. In the audit logs I see this for every upload (isDev: false).

{
  "url": "redacted",
  "type": "callback",
  "status": -1,
  "request_id": "7d41d51c-a59e-4935-8399-12d922380d42"
}


The status -1 is sent from the UT servers but I can't figure out why. Because of this my onUploadComplete doesn't trigger so the flow isn't complete so I don't add a new record in my DB for an uploaded file. The dashboard says: Callback Failed.

I'm running my app on Vercel & the last debug message from UT in Vercel logs: {"message":"Sending response","logLevel":"DEBUG" ...}
I have 0 issues while using the same code in development when isDev: true, when isDev = false, I have the same issue. Version I'm using of UT: 7.5.2.
Was this page helpful?