better error handling for tom tom tasks file upload