PDF Load Failure in Quill Project: 403 Forbidden Error on Uploadthing URL
It’s a Next.js project using TypeScript, tRPC, MySQL with Prisma, and Pinecone for vector DB. Uploadthing is used for PDF uploads. When a PDF is uploaded, it uploads successfully but fails to open on the website. The browser console shows a 403 error with the URL: https://uploadthing-prod.s3.us-west-2.amazonaws.com/${file.key}
, as referenced in the Uploadthing core.ts
file.