tRPCttRPC
Powered by
K1|llerK
tRPC•3y ago•
8 replies
K1|ller

Page couldn't be rendered statically because it used `cookies`

Has anyone had this issue? I'm using trpc in a server component and in localhost it works fine but it won't work when deployed toVercel.

Any help will be appreciated
image.png
image.png
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Error building create-t3-app: Page couldn't be rendered statically because it used `cookies`
1Sonny11Sonny / ❓-help
3y ago
This page needs to bail out of prerendering at this point because it used revalidate: 0
Billy HawkesBBilly Hawkes / ❓-help
3y ago
Error headers was used outside are request scope. might be because of trpc dynamic api route
chicoCchico / ❓-help
16mo ago