CORS error when trying to upload a file
# support
d
v
@dachsteinhustler It sounds like you're experiencing an issue with VAPI on both Firefox and Chrome browsers, which previously worked fine. To assist you better, could you please provide more details about the problem? For instance, are you encountering a specific error message, or is there a particular feature of VAPI that isn't functioning as expected? Any additional information you can provide will help me address your concern more effectively.
You can continue this conversation by mentioning me in the message.
d
Hi bot, I see you arent able to read the title. No worries, here's the title of the issue: "CORS error when trying to upload a file". I can't upload files to the knowledge base because there's always a CORS error
@Vapi Hi bot, I see you arent able to read the title. No worries, here's the title of the issue: "CORS error when trying to upload a file". I can't upload files to the knowledge base because there's always a CORS error
v
@dachsteinhustler I apologize for the inconvenience you're experiencing with the CORS error during file upload. CORS issues are typically related to browser security measures that prevent web pages from making requests to a domain different from the one that served the web page. Here are a few steps you can take to troubleshoot and potentially resolve the CORS error: 1. **Check the Browser Console**: Open the browser console to see if there are more detailed error messages that can give clues about the issue. 2. **Verify Server Configuration**: Ensure that the server you're uploading files to has the appropriate CORS headers set up to allow requests from the domain you're using. 3. **Check for Browser Extensions**: Sometimes, browser extensions can interfere with web requests. Try disabling any extensions that could be modifying your requests. 4. **Clear Cache and Cookies**: Clear your browser's cache and cookies to ensure that there isn't any stored data causing the issue. 5. **Try a Different Network**: Occasionally, network configurations like firewalls or proxy servers can cause CORS issues. Try uploading the file from a different network to see if the problem persists. 6. **Contact Support**: If the issue continues, it might be a problem with the VAPI service itself. In this case, contacting the support team with details of the error would be the next step. If you'd like, I can assist you in contacting support for more help on this issue. Would you like me to do that for you?
d
@Vapi yes please contact the Vapi support for me
v
@dachsteinhustler Sweet. Have a great day!
s
can you dm me @dachsteinhustler
@dachsteinhustler resolved now?
d
no, I checked a few times whether you were in the voice channel as you told me in DM, but I never saw you
no ok, actually it is resolved, just tried it now again. I can upload files now, thanks for your help, no idea what fixed it
💫
s
it's from cloudflare.
7 Views