Vapi blocking requests from my server
# support
k
Hi, I'm currently a startup founder that is building a platform that allows users to create AI interviewers. We are building on top of Vapi. Every time a user creates an interviewer, an assistant is created in Vapi. Because of this, we've been pinging the Vapi API a lot and think we might have been rate limited/blocked. Want to see if that's the case and whether we can upgrade to a pro plan or enterprise plan. Anyways here's the error message we get from console: "newform:1 Access to fetch at 'https://api.vapi.ai/assistant' from origin 'https://app.tryaptitude.ai' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled." https://cdn.discordapp.com/attachments/1291672710925123674/1291672711269060640/error.png?ex=6700f374&is=66ffa1f4&hm=530dd900c075c1dcdeb3fc6e7b7b5c0782eb698342e233c3aa39106116ecfc29&
v
message has been deleted
@kirby Hello! It seems like you're encountering a CORS (Cross-Origin Resource Sharing) policy issue, which is a common web security measure to prevent unwanted cross-origin requests. This error does not necessarily indicate that you've been rate limited or blocked by Vapi, but rather that there's a mismatch or absence of CORS headers in the API response that's required for browser-based requests. To address this issue, you can: 1. Check if the CORS policy is correctly set up on your server to include the domain
https://app.tryaptitude.ai
in the
Access-Control-Allow-Origin
header. 2. Ensure that your API requests to Vapi are configured correctly and that you are passing the necessary headers. 3. If you're using a server or a proxy, you can configure it to add the correct CORS headers to the response before it reaches the client. Regarding upgrading to a pro plan or enterprise plan, you would need to contact Vapi's sales or support team to discuss the available options and find a plan that suits your startup's needs. They can also provide you with more information on rate limits and how to handle a higher volume of API requests. If you need further assistance with the CORS issue or have any other questions, please let me know!
You can continue this conversation by mentioning me in the message.
s
@kirby we are not blocking you it's from cloudflare, is your app deployed on ec2?
because of no response closing this ticket.
8 Views