Error: Invariant: cookies() expects to have requestAsyncStorage, none available.
Unanswered
Tibetan Mastiff posted this in #help-forum
Tibetan MastiffOP
Hello, I have a layout.tsx where I call some server action that reads cookies and sends them to API. Everything works fine except I try to work with dynamic routes.
If I have a page.tsx in dynamic route I get this error, once I make it a normal route, no error and everything works fine.
Someone any idea what is going on?
If I have a page.tsx in dynamic route I get this error, once I make it a normal route, no error and everything works fine.
Someone any idea what is going on?