<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def configure_sbi():
 """Configure an SBI using POSTed configuration."""

    # Need an ID for the subarray - guessing I just get
    # the list of inactive subarrays and use the first
    inactive_list = SubarrayList().inactive
    request_data = request.data
    LOG.debug('request is of type %s', type(request_data))
    try:
        sbi = Subarray(inactive_list[0])
        sbi.activate()
        sbi.configure_sbi(request_data)
    except jsonschema.exceptions.ValidationError as error:
        LOG.error('Error configuring SBI: %s', error)
        return dict(path=error.absolute_path.__str__(),
                    schema_path=error.schema_path.__str__(),
                    message=error.message)
    return dict(status="Accepted SBI: {}".format(sbi.id))