Error handling for no filetype in request