---
page_type: error
code: 99002
message: "99002: Tool Execution Error"
level: ERROR
product: AI Assistants
---

## Description

Tool execution responded with non 2xx status code.

### Possible Causes

Tool execution could not be completed due to non 2xx response.

### Possible Solutions

Check the status code and error logs in your Tool.

- If you are using Twilio Functions, try adding more `console.logs`, setting Live Logs on the Function, and executing your Assistants again.
- If you are getting 401/403, verify you are handling the X-Twilio-Signature correctly.
- If you are getting 5xx, check your server logs.