request can throw TypeError