raise exception in case of error from figshare