# 81017: Error in Twilio Function Response

Log Level: ERROR

## Description

There was an error in the response back from a Twilio Function attached to the Studio flow.

### Possible causes

* Your Function timed out before responding
* Your Function returned an error response

### Possible solutions

* Your Function must contain a callback.
* Make sure you place the Function callback `callback(err, response)` is placed correctly in your Function code.
* If you are using a JavaScript promise, make sure the callback is called in both success and catch blocks.
* Your Function responded with an error.
