Rafał Florek
05/09/2024, 6:54 AMVapi Support
05/09/2024, 6:54 AMVapi Support
05/09/2024, 6:55 AMnavigator
or window
, which are not available in a server-side context like Vercel's serverless functions. This is a common issue with server-rendered applications and might require conditional checks to ensure code execution only happens in the browser environment.
For more detailed debugging, inspect the serverless function logs in your Vercel dashboard, which might give you more insight into what's causing the error. Additionally, reviewing the part of your code referenced in the error message and ensuring that all asynchronous operations are correctly awaited can help identify the cause.
Given the nature of your issue, it might also be helpful to review common Next.js practices for handling serverless functions and accessing API endpoints to ensure your implementation aligns with expected patterns.
Since this response doesn't directly address a Vapi-related question and no specific documentation from Vapi matches this context, it's based on general web development practices.Vapi Support
05/09/2024, 6:58 AMRafał Florek
05/09/2024, 7:01 AMSahil
05/09/2024, 9:43 AMRafał Florek
05/09/2024, 5:09 PMSahil
05/09/2024, 7:22 PM