Solved

I want to integrate klvaiyo with my nextjs payloadCMS. And im getting this error

  • 4 January 2024
  • 3 replies
  • 70 views

Badge +1

 

icon

Best answer by Brian Turcotte 4 January 2024, 21:08

View original

3 replies

Userlevel 7
Badge +36

Hi @barryanil!

It appears that you’re calling the Profiles endpoint from a browser/client (correct me if I’m wrong), but that endpoint is a server-side-only endpoint.

 

Best,

Brian

Badge +1

I checked my code its a server side page 

Userlevel 7
Badge +36

Hi @barryanil!

 

Even if it’s a server-side page on your end, if you’re calling the endpoint through a browser client, the same error will occur.

 

Best,

Brian

Reply