Network error: Unable to connect to the server. Th...
# support
k
i am getting this erro i am using https://staging.sunbasedata.com/sunbase/portal/support/check_files.jsp this url it is working fine every where not only in vapi can check what is iisue is there any issue with my api aor vpai Network error: Unable to connect to the server. This could be due to CORS restrictions, the server
v
Hi there! I see you're encountering a network error with CORS restrictions when using the URL
https://staging.sunbasedata.com/sunbase/portal/support/check_files.jsp
in Vapi. To help troubleshoot this issue better, could you please provide some additional details: 1. How are you integrating this URL with Vapi? Are you using it in a webhook, server URL configuration, or some other integration point? 2. What specific Vapi feature or function are you trying to use with this URL? (For example: assistant function calling, knowledge base integration, etc.) 3. Have you checked if your server requires any specific headers for CORS? Some APIs require specific headers to be included in requests to allow cross-origin access. 4. Are you able to see any additional error details in your browser's developer console when this error occurs? This information would help me provide more targeted troubleshooting steps for your specific situation. Sources: - [Troubleshooting steps for network errors in Vapi](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334001638876250233) - [Common API issues in Vapi that cause network errors](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1334159219649417289)
k
Hey, kanhaiyatiwari, I guess this issue has been resolved. So, shall I mark this ticket as done?
k
no its issue same issue still not able to call my application apis from vapi
k
Hey @Kanhaiyatiwari, Even after reviewing the logs, I came to the same conclusion - there is something wrong with your server URL, and we cannot help you further. You need to change your server URL to continue using our services normally.
r
Same issue is happening with me
k
This ticket has been marked as solved, and as a result, you will no longer receive any further responses. Kindly create a new support ticket to escalate your inquiry.