403 and 400 error
# support
v
message has been deleted
@frontline.ai I'm sorry to hear you're experiencing issues. To assist you better, could you please provide me with the specific error messages you're receiving? Additionally, it's important to note that you should only use your public key with the Vapi client-side library. The private key should be kept secret and only used server-side. If you're using the correct public key and still facing errors, please share the error messages so I can help you troubleshoot the problem further.
You can continue this conversation by mentioning me in the message.
f
I have sent screenshots with the error code
message Invalid Key. Hot tip, you may be using the private key instead of the public key, or vice versa. error Forbidden statusCode 403
@Vapi I have sent screenshots with the error code message Invalid Key. Hot tip, you may be using the private key instead of the public key, or vice versa. error Forbidden statusCode 403
v
@frontline.ai Thank you for providing the error message. A
403 Forbidden
status code with the message "Invalid Key" suggests that there is an issue with the API key you are using. Here are a few steps to ensure you are using the correct key: 1. **Check the Key Type**: Ensure that you are using the correct type of key. If you are making requests from the client side, you should use the public key. For server-side requests, use the private key. 2. **Bearer Token Format**: When using the key, make sure it is prefixed with "Bearer " (note the space after Bearer) in the Authorization header. 3. **Key Validity**: Verify that the key has not been revoked or expired. You can check this in your VAPI dashboard. 4. **Key Permissions**: Ensure that the key has the necessary permissions for the action you are trying to perform. 5. **Correct Usage**: If you are using the VAPI module, ensure that you are passing the key correctly as per the module's documentation. If you have verified all of the above and are still facing issues, it might be best to regenerate a new key from the VAPI dashboard and try using that new key. If the problem persists, please reach out to VAPI support for further assistance.
f
@Vapi I have made sure to check everything but this is still happening
v
@frontline.ai I understand that this situation can be quite frustrating. Since you've checked all the common issues and the problem persists, it might be necessary to escalate this to the VAPI support team for a more in-depth investigation. Would you like me to go ahead and close this ticket for you, or is there anything else I can assist you with before doing so?
f
Get me some help
@Vapi
v
@frontline.ai Please ask support for more info on this.
f
@Vapi support
v
@frontline.ai I'm here to help you. Since the issue persists even after verifying the key and its usage, it's best to get in touch with VAPI's dedicated support team for a more thorough investigation. They will be able to look into your account details securely and provide a resolution. You can contact VAPI support through their official support channels, such as the support email, helpdesk, or support form on their website. Make sure to provide them with all the relevant details, including the error messages, what you've tried so far, and the context in which the error occurs. If there's nothing else I can assist you with right now, I will proceed to close this ticket. If you need further assistance, please don't hesitate to ask.
f
@Vapi can you send me the link
v
@frontline.ai Please ask support for more info on this.
f
@Vapi what is the email ?
v
@frontline.ai Please ask support for more info on this.
f
@Vapi where do i contact them
v
@frontline.ai I apologize for the inconvenience. To contact VAPI support, you would typically visit the official VAPI website and look for the support or contact section. However, since I don't have access to external databases or the internet, I can't provide you with a direct email address or link. Please check the documentation you received when you signed up for VAPI, as it often includes contact information for support. Alternatively, you can log in to your VAPI dashboard, where you should find options to contact support or submit a help request. If you're still unable to find the contact information, you might also try searching for "VAPI support" using your preferred search engine to find the appropriate contact details. Is there anything else I can assist you with?
s
@frontline.ai Could you record a Loom video so I can take a look? I can share it with the team to get them involved and help you better.