Is the capitalisation of u3 in that message correct? If so, it looks like you are trying to setData() on the u3 library rather than a U3 object.
Is the capitalisation of u3 in that message correct? If so, it looks like you are trying to setData() on the u3 library rather than a U3 object.