TypeError: Cannot read properties of undefined (reading 'url')

Hi, I'm getting this error when I try to upload an image:
(FiberFailure) TypeError: Cannot read properties of undefined (reading 'url')
at eval (webpack-internal:///(rsc)/./node_modules/uploadthing/server/index.js:492:33)
POST /api/uploadthing?actionType=upload&slug=productImage 500 in 608ms
(FiberFailure) TypeError: Cannot read properties of undefined (reading 'url')
at eval (webpack-internal:///(rsc)/./node_modules/uploadthing/server/index.js:492:33)
POST /api/uploadthing?actionType=upload&slug=productImage 500 in 608ms
Does anyone know what could be causing this? It was working some time ago but I probably messed up something with my code or an update.
Solution:
Solution: I was using MillionLint and apparently they're incompatible (or I didn't have the correct config), so removing it fixed the problem
Jump to solution
1 Reply
Solution
Erik
Erik5mo ago
Solution: I was using MillionLint and apparently they're incompatible (or I didn't have the correct config), so removing it fixed the problem
Want results from more Discord servers?
Add your server