"Callback failed" in production.

Hello, I'm following the 0 to Production tutorial, using Vercel. Uploading files works fine in development locally, but in production the logs show that "callback failed". What could be the reason? I'm providing the latest audit log on the failed file upload:
{
"url": "https://next-gallery-3x50b68ro-tiger-driver-xalizs-projects.vercel.app/api/uploadthing?slug=imageUploader",
"type": "callback",
"status": 401,
"request_id": "d436d1e2-e528-4e48-bedb-78d0a09310d6"
}
{
"url": "https://next-gallery-3x50b68ro-tiger-driver-xalizs-projects.vercel.app/api/uploadthing?slug=imageUploader",
"type": "callback",
"status": 401,
"request_id": "d436d1e2-e528-4e48-bedb-78d0a09310d6"
}
What would be the solution?
1 Reply
xanaduremains
xanaduremainsOP3d ago
FOLLOW UP: I disabled Vercel Authentication and now it works.

Did you find this page helpful?