Sitecore XM Cloud Fetch Error with Search SDK on Vercel

I’m hosting a Sitecore XM Cloud project on Vercel and have integrated the Sitecore Search SDK for React. While the data fetch works perfectly on my local machine, it doesn’t fetch the data when deployed on Vercel.

Upon debugging, I found a discrepancy between the request URLs:

Local: https://discover.sitecorecloud.io/discover/v2/22764180680

Vercel: https://mydomain.vercel.app/undefined/discover/v2/22764180680

Has anyone encountered this issue before or knows how to fix it?

Hi Gowtham,

Thank you for reaching out. I see that you have already opened a ticket with us. We will continue our conversation there to ensure the communication aligns with our Enterprise Service Level Agreement (SLA).

Have a great day, and please don’t hesitate to contact us if you have any other questions. :slight_smile:

Hi Swarnava,

Thanks for your response.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.