debugging upload initiation error.