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.
I tried to open the PDF on the website, which is a chat app designed to answer questions about the PDF for reference. This project is from a YouTuber named Josh Tried Coding. Here is the video link at timestamp 4:39:35.
Muhammad Hassan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.