Handle invalid responses for files uploads