I think based on the POST attempt to chat/[id] folder this is the page that was supposed to be called/posted to.
src\app(authenticated)\chat[id]\page.tsx
src\features\chat-page\chat-input\file\file-store.ts
src\features\chat-page\chat-services\chat-document-service.ts >> I suspect CrackDocument function is problematic.
When trying to attach a file (.pdf) I am getting this error: http://localhost:3000/chat/O7RD85ROElgoBg6w7tsz65jocftx2d0j45yw 0:["$@1",["development",null]] 1:{"status":"ERROR","errors":[{"message":"RestError: Authorization failed."}]}
I think based on the POST attempt to chat/[id] folder this is the page that was supposed to be called/posted to. src\app(authenticated)\chat[id]\page.tsx
src\features\chat-page\chat-input\file\file-store.ts src\features\chat-page\chat-services\chat-document-service.ts >> I suspect CrackDocument function is problematic.