This project is a combination of Next.js with TypeScript, tRPC, MySQL using Prisma, and Pinecone for vector DB. Uploadthing is integrated for PDF uploads. Despite successful upload, there is an issue when trying to open the PDF on the website, resulting in a 403 error in the browser console with the specific URL:
https://uploadthing-prod.s3.us-west-2.amazonaws.com/${file.key}
, as mentioned in the Uploadthing core.ts
file.
I attempted to access the PDF within a chat application designed to provide answers related to the content. The project originates from a YouTuber named Josh Tried Coding. You can watch the explanation at timestamp 4:39:35 through this video link.