All questions

Getting an error calling the SDK during Nuxt server render

Asked by dmitri on

Ddmitri

I have client-only SDK logic that is running during the server render pass in Nuxt and it throws. The error fires while the server is rendering, before the page reaches the browser, so it looks like a hydration-time problem.

Please how I fix this so personalization works with SSR instead of blowing up on the server pass? I paste the gist below but the shape is: a call meant for the client is executing on the server.

Was this helpful?

0 answers

Still have questions?