API Request Tool Error
# support
u
There was go on error on API Request Tool after today afternoon. This is urgent
Hello @Vapi Support Bot , Are you updating API Request Tool?
c
Hey, really sorry for your experience. If possible, could you record a loom video describing this error/behavior or inconsistency in the dashboard with the steps to reproduce it? That way, I can share this with my team, and we'll take a look. We'll even try to reproduce the same so we can fix it for you. Also, I'll request you to share your workflow ID.
This error.
m
I have this exact same issue
Im not able to save new api request tools
c
The main issue is that you're using a GET request method but have configured a request body with properties. GET requests don't typically use request bodies, and the validation error suggests the body type configuration is incorrect for your intended use case. **Two possible fixes depending on your intent**: \### Option 1: If you need to send data (recommended) \- Change HTTP Method from
GET
to
POST
\- Keep your request body configuration as is \- The body type should automatically resolve to "object" when you have properties defined \### Option 2: If this should be a GET request \- Remove the entire Request Body section \- Use URL parameters or headers instead for any data you need to send \- GET requests should not have request bodies **Step-by-step implementation**: 1\. **For POST request (Option 1)**: - Change the HTTP Method dropdown from "GET" to "POST" - Add a
Content-Type: application/json
header if not already present - Your existing message property configuration should work correctly 2\. **For GET request (Option 2)**: - Keep GET method - Remove the "message" property from the Request Body section - If you need to send the message, add it as a URL parameter instead
4 Views