Unable to send headers with custom knowledge base
# support
u
Hi team, I'm trying to use custom knowledge base. I'm setting some custom headers that I want to send. https://docs.vapi.ai/api-reference/knowledge-bases/create#request.body.custom-knowledge-base.server.headers However I do not see the headers received on my server.
v
@udAIan Hello! I'm here to help you with your custom knowledge base headers issue. To ensure that your headers are correctly set up and sent to your server, let's go through a few steps: 1. Double-check that the headers are correctly formatted in your request body according to the VAPI documentation. 2. Verify that the endpoint on your server is configured to receive and process custom headers. 3. Ensure that there are no typos or errors in the header names and values you are sending. 4. If you're using any middleware or proxy that could strip or modify headers, make sure it's configured to allow your custom headers through. If you've already checked these and the issue persists, could you provide more details about the headers you are setting and the server configuration? This will help me assist you better. If the issue is sensitive or requires immediate attention, please ask support for more info on this.
You can continue this conversation by mentioning me in the message.
s
Hey @udAIan To help track down this issue, could you share: - The call ID This would really help me figure out what went wrong!
u
@Shubham Bajaj I found the custom header deep in the POST call body so this is not urgent and can be marked resolved. However, I was thinking that headers should be sent as http headers.
s
@udAIan thanks for letting me know, I will create an ticket for it and get it resolved.