#findByID.ts not found

3 messages · Page 1 of 1 (latest)

open urchin
#

Hey guys, since today I can't access the admin panel of my app anymore. I get..

NotFound: The requested resource was not found.
at findByID (.../node_modules/payload/src/collections/operations/findByID.ts:94:15)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at me (.../node_modules/payload/src/auth/operations/me.ts:34:19)
at meHandler (.../node_modules/payload/src/auth/requestHandlers/me.ts:13:22)

.. and a loading spinner at /admin. I'm not aware that I changed anything since yesterday. The only thing I can report is that over the last couple of days, while I was able to access the admin panel, when I tried to save anything I did get an error despite being an admin.

Any leads? I tried npm i already

dark umbraBOT
open urchin
#

I did find the issue. Running two dev servers on localhost, the cookies had been merged and as I was working on user auth on the other end, the payload-token had been overridden.