Authentication Failure When Using Tool Integration
# support
t
Hi Vapi Support, I’m currently experiencing a recurring 401 API Error when attempting to make requests through one of my connected tools. The error message I’m seeing is: Error: API Error: 401 Request failed with status code 401 I have tried all of the steps already listed in this support page, let me know what I can do. Thank you for your help and support, Tobias
v
Thank you for providing details, Tobias. To help diagnose the recurring 401 API Error, could you please specify which authentication method you are using for the tool integration (e.g., API key, JWT token, OAuth, or custom header)? This will help us provide more targeted troubleshooting steps. Source: - [Custom tools troubleshooting](https://docs.vapi.ai/tools/custom-tools-troubleshooting)
t
API key
Hi, any updates on this?
g
Does the vapi API key match what's in the connected tool?
t
Yes it does, is anyone available for live support, we've done evrything cannot figure it out
c
If this is happening in a call, could you please provide a call id where you experienced this issue? We would like to review the logs to identify the cause.
t
Yes I can
This is a call log, where I try to book in a meeting, but immediately it has problems with get contact
any updates?
c
You might want to also connect your GHL account to your workspace directly. If you just use the API key, it may not be as accurate