[Solved ✅] Failing to use API to execute function
I use composio's package to load schema but need to execute the function with custom logic. I am passing the data below but got the
error 400: Validation failed - "App name and entity id must be present, if connected account id and endpoint are not present"
.
How do I fix this?
4 Replies
dependent-tan•3mo ago
hey
looking into this.
can you try this?
passive-yellowOP•3mo ago
It worked after changing "to_recipients" to "to_email". I deleted appName and it also worked.
But you might wanna adjust the API doc as it uses "connectionId" instead of "connectedAccountId"?
dependent-tan•3mo ago
Sorry for this. We are updating the docs. Thanks for pointing this out!
passive-yellowOP•3mo ago
Hello! The "successfull" key in API tool execution result is mispelled.
@Karthikeya